on 12-13-2005 12:34 PM
Hi All,
I have created a set of web dynpro applications.
Now I want to assign these to users based on their respective roles.How can i achieve this, is the use of Enterprise portal a must in this case??
cheers
Anand
hi
yes you have to use enterprise portal for that.
you have convert the webdynpro application to the enterprise portal iviews and you have to create roles and users and assign the users to the roles.the folowing link may be useful
regards
saravana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anand,
Capture the roles in webdynrpo using the portal runtime APIs
IUser user = request.getUser();
Iterator roles_itr = user.getRoles(true);
while (roles_itr.hasNext())
{
try
{
String uniqueID = roles_itr.next().toString();
IRole userRole = UMFactory.getRoleFactory().getRole(uniqueID);
if(userRole.getDisplayName().equalsIgnoreCase("<role name>"))
{
you can make the manipulations here
}
}
catch (Exception e)
{
}
You can embed the views in a view set and fire the views according to the roles
You can also play with visibility.
Attach the visibility property of the UI elements to an attribute having type visibility and change it accordingly
Hope this helps you
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi anand,
check this weblog too "User management API in WebDynpro"
/people/sap.user72/blog/2005/06/05/user-management-api-in-webdynpro
hope this helps,
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi anand,
I think for assign the roles we should go for EP
for this u refer this link that explains u how top create roles in EP
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/po... integration of web dynpro applications.pdf
hope this helps u,
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.