Obtaining roles from desktop
Hi,
In my project there is a need to obtain all roles entiltled to any desktop.
There are 100s desktops created in the portal and I need to know roles of a specific desktop.I did not find any method of any class in the portal API.
Please help me to findout correct class/api. Thanks in advance.
Nitin
com.bea.p13n.security.management.rolemapper.RoleManagerProxy
contains a method to findout roles from any resource. But I dont know how to get resource Id of any Desktop this is the problem with me.
public String[] listRolesForResource(String resourceId)Lists all role names for this provider associated with the given resource id.
Parameters:
resourceId - the resource the role is scoped to
Returns:
String array of role names