cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning role to the users

Former Member
0 Kudos

HI All,

I want to assign 1 role to the 400 users in my portal.Is it possible to assign automatically to do this.

Can any one give me clue on this .

Regrads,

Suresh.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use a script like the one below if you have all the usernames with you.


[role]
rid=pcd:portal_content/administrator/content_admin/content_admin_role
rdesc=Content Admin

user=user1;user2;user3

Or you can assign all the users to a group using a script file like this


[group]
gid=Administrators
user=user1;user2

and then assign the role to the group.

Thanks,

GLM

Former Member
0 Kudos

HI GLM,

Thanks for reply,

Can you please elaboraste the solution.

Where i need to use script and assigning role to user.

As per my knowledge create 1 group and assign all the users to that group and finally assign the role to that group.

Regards,

Suresh

Former Member
0 Kudos

Logon to the portal with a user who has access to user administration. Click on the Identity Management tab. Click on the Import option and paste the script there or alternatively you could browse to the script file you created and click on upload.

Good Luck!

GLM

Edited by: GLM on Sep 8, 2009 9:37 AM

Former Member
0 Kudos

HI GLM,

Here i am using EP6.0 and am not able to see export option.CAn you please tell me the process in EP6.0

Regards,

Suresh

Former Member
0 Kudos

Yes you should have the option to do that. Refer to the link below

http://help.sap.com/saphelp_webas630/helpdata/en/b2/4f9b3e1f1e7c7de10000000a114084/frameset.htm

Thanks,

GLM

Former Member
0 Kudos

HI GLM,

I have a role i.e test,now i have to assign to the 400 users to that role.

I logon to portal 6.0 and useradmin htere i click on import\export tab.

Here file location and browse button is there,shalli paset the below code in the enter data field,

[role]
rid=pcd:portal_content/administrator/content_admin/content_admin_role
rdesc=test
 
Afetr i pasted this code anything else i need to do ?

user=user1;user2;user3

Regards,

Suresh

Former Member
0 Kudos

You have to use the code as described in my earlier post and click on import thats all if everything went fine then the assignment should be done.

Whats your experience?

Thanks,

GLM

Answers (1)

Answers (1)

former_member189631
Active Contributor
0 Kudos

Suresh,

You can follow the below manual way also. No coding effort involved.

  • Create a a portal group

  • Add all the users to group

  • Assign the goupp to your role

By this way, you can un-assign the role by removing the goup from role.

Ram