cancel
Showing results for 
Search instead for 
Did you mean: 

Mass role assignment to users

Former Member
0 Kudos

Hi all,

I use SAP NW CE 7.3, the user data is stored in LDAP (sun java directory services). I created around 900 users in LDAP using a script.

I can see all these users in the portal: http://<hostname>:50000/irj

Now, I want to assign a particular Portal role to all these 900 users. I want to use the 'import' feature in the portal user administration.

Please suggest how I can do this mass role assignment to the users or some other alternative.

regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Go to the user admin tab and select the role and then export. You will get a file like this:

[role]

rid=pcd:portal_content/com.tdcv.TDCV_SandBox/com.test.Deepak/com.test.test2

rdesc=Test2

user=testdep2

Here in user attribute,add the name of all the users separated with a semicolon. Remove the rdesc attribute as it not modifiable. After that go to import  and upload the file.

BR,

Deepak

Answers (1)

Answers (1)

Manas_Vincit
Active Participant
0 Kudos

Hi,

Check below mentioned links in SCN , if this helps.

http://scn.sap.com/thread/1664139

http://scn.sap.com/thread/2126501

Thanks

Manas Behra

Former Member
0 Kudos

thanks Manas,

I had already gone thru the first link. I had tried something like:

[ Role ]

rid=Role1

rdesc=Role description

user=MarcPeters;JackSmith;

but it was saying Role1 already exists. As the first link describes this applies to UME role and not portal roles (as in my case). Maybe I'll have to create a group and then put all the users under this group and then assign the portal role to this group. In fact, I was thinking maybe there was some alternative way...

Do suggest if you've got any other workarounds.

regards.