on 09-07-2006 12:03 AM
Hello All,
I'm working on 2004s and trying to make a webdynpro application, which would retrieve following data of existing Portal users:
1> Current Role (User selected Role)
2> Current Worket that is attached/assigned to the current role (referring to point 2 above).
Note: Users have multiple roles & Roles have multiple worksets.
Thanks,
Satya.
Hi Satya,
To get list of roles use String[] IRoleFactory.getRolesOfUser(String uniqueIdOfUser, boolean recursive) (https://media.sdn.sap.com/javadocs/NW04/SPS15/um/com/sap/security/api/IRoleFactory.html). To get worksets assigned to roles you can try to use approach described here /people/prakash.singh4/blog/2005/07/28/browse-roles-folders-pages-iviews-assigned-to-a-user-ep6-sp9-and-higher
More on PCD:
/people/daniel.wroblewski/blog/2006/07/30/everything-you-wanted-to-know-about-the-pcd
/people/daniel.wroblewski/blog/2006/08/15/pcd-ii-creating-portal-objects
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maksim,
I'm getting the Roles assigned to the User. But I want the active role name/id. Here I'll explain the scenario.
Ex:
We have Content Admin, System Admin, and User Admin.
If Suppose user in System Configuration tab of System Admin Role then
I want Active Role as 'System Admin' & active Workset as 'System Configuration'.
How to get the active role and active workset?
Thanks,
Satya
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.