Skip to Content
author's profile photo Former Member
Former Member

Group to Role Mapping - mass update

Hi there

We have a situation where we have a number of groups and a number of roles, all sitting in our Portal QA system. Each group is mapped to 1 or more roles.

We now need to move these groups, roles and mappings to the production system.

I found that a collection of groups can be exported, and then imported from the User Import screen in production. The file that is generated can / does include users, so the import will assign users to the group when it is performed.

Likewise, roles can be added to a transport package and then transported to the production system.

The only part of the puzzle that is missing is the link between groups and roles ...

Does anybody know how I can go about transporting the group-role assignment from one portal system to another.

The format of the file contents for importing a group is:

[group]

gid=<GroupID>

gdesc=<GroupDescription>

user=<User>;<User>

If I export users, the file contents follow a similar pattern:

uid=<UserID>

role=<Role1>;<Role2>

group=<Group1>;<Group2>;

So ... I am seeing a bit of a pattern here, so was really hoping there is something that I can do that will allow for the group-role mappings to be included. I tried include role=<RoleID> in the groups file, but that didn't work.

Any ideas would be greatly appreciated.

Cheers,

Andrew

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 12, 2006 at 12:24 PM

    Aah yes ... one should look before one leaps ... now I find the answer

    http://help.sap.com/saphelp_nw04/helpdata/en/d1/a73184c45e4e119e63d1b8108f1ab0/content.htm

    Basically, the file contents are

    [Role]

    rid=<RoleID>

    group=<Group1>;<Group2>

    Upload this, and the group-role assignment carries on through.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      If you're going to import your users from AD in the target environment, then I imagine you'll need to manually assign them to groups.

      Unless you have a way of automatically assigning users assigned to particular AD groups to your portal group.

      The export / import wizard works very well in maintaining the links between roles & groups.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.