Rank: Administration Groups: Registered, Administrators Posts: 8 Location: Hyderabad
|
If you add any custom application inside OfficeClip, and want to revoke access to few users then follow these steps - Create a role and add the users (non-administrators who you want to restrict the application ) to it,
- Add the Custom Application in appmenus.xml
- Within your custom application in the page_init() use the following code you control role level access
- RoleDB.GetRolesByUserId(Utils.SessionSettings.GroupId, Utils.SessionSettings.UserId)
- If you get the restricted role id in the above table then throw an exception (saying "You are not authenticated to view this page" )
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The OfficeClip Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close