Set permissions for the document.
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public void SetPerms( Visibility visibility, CommentPermissions commentPermissions ) |
Visual Basic (Declaration) |
---|
Public Sub SetPerms ( _ visibility As Visibility, _ commentPermissions As CommentPermissions _ ) |
Visual C++ |
---|
public: void SetPerms( Visibility^ visibility, CommentPermissions^ commentPermissions ) |
Parameters
- visibility
- Type: IpernityNET..::.Visibility
An object Visibility describing the visibility. Set only the visibility you want to change (others will be ignored)
- commentPermissions
- Type: IpernityNET..::.CommentPermissions
An object CommentPermissions describing the permissions. Set only the permissions you want to change (others will be ignored)
Remarks
This method encapsulates doc.setPerms
Exceptions
Exception | Condition |
---|---|
IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. |