Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Get Object Permissions?
Mark_Wescott
How can I get permissions value for a node? The objectInfo Attributes "Permissions" which says "The permission set on the object of the user who is currently logged in" returns -2130706433.With ListObjects method the same node returns '16777215' which is RIGHT. Also tried the following "GetObjectRights" code found in the discussion forum, but the rightIDs returned are -1 tto -4 which does not matches with the current logged in user ID who is the owner. -- CODELLValue objRights = (new LLValue()).setRecord();doc.GetObjectRights(volID, objID, objRights);while (rights_enum.hasMoreElements()) {if (rightID == userID) {rightsElement.toValue("PERMISSIONS").toInteger()}Any help would be appreciated.Thanks in Advance
Find more posts tagged with
Comments
There are no comments yet