Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IDocument.SetAccessLevel Method 

Set document access level for a given role type.

void SetAccessLevel(
   RoleTypes roleType,
   AccessLevels accessLevel
);

Parameters

roleType
The role type for which access level will be set.
accessLevel
The access level.

Remarks

Note: To set custom access levels, default security must first be set to false calling DefaultSecurity = false.

Exceptions

Exception TypeCondition
InvalidOperationException The document has not yet been inserted, has already been removed or is set to use default security.

See Also

IDocument Interface | Plumtree.Remote.PRC.Collaboration.Document Namespace