
DM API TOKENS 351
%EFFECTIVE_RIGHTS
'Check for errors.
checkError(pDocObject, "ERROR_DOCPROFILEDSP_RIGHTS")
'Get the user's effective rights for this document object.
Set intAccessRights = pDocObject.GetReturnProperty( _
"%EFFECTIVE_RIGHTS")
'Make sure user has rights to edit the profile.
If Not (pDocObject.HasRight("%PR_EDIT", intAccessRights)) Then
'The user cannot edit this document.
End If
Related Items
See the PCDDocObject object.
See the following methods:
GrantRight
HasRight
RevokeRight
See the following tokens:
%PR_ACCESS_CONTROL
%PR_CONTENT_COPY
%PR_CONTENT_DELETE
%PR_CONTENT_EDIT
%PR_CONTENT_RETRIEVE
%PR_CONTENT_VIEW
%PR_EDIT
%PR_VIEW
%RIGHT8
%RIGHT9
Comentários a estes Manuais