See the attached archive.
To check object access permissions, use the following method:
SecuritySystem.IsGranted(new ClientPermissionRequest(targetObjectType, memberName, objectHandle, SecurityOperations.Write));
where objectHandle can be obtained via the IObjectSpace.GetObjectHandle method. You can pass Null in memberName and objectHandle arguments to check a permission for the entire type or object instance.
We will update our documentation accordingly.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.