Set permissions for an album
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public void SetPerms( PermissionPeople permission ) |
Visual Basic (Declaration) |
---|
Public Sub SetPerms ( _ permission As PermissionPeople _ ) |
Visual C++ |
---|
public: void SetPerms( PermissionPeople permission ) |
Parameters
- permission
- Type: IpernityNET..::.PermissionPeople
The new permissions to comment on the album. Permissions available : OnlyYou, FriendsAndFamily, Contacts, Everybody. Using Family and Friends permissions will result to use OnlyYou
Remarks
This method encapsulates album.setPerms
Exceptions
Exception | Condition |
---|---|
IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. |