Set permissions for an album

Namespace:  IpernityNET.IpernityObjects
Assembly:  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

ExceptionCondition
IpernityNET..::.IpernityExceptionThrowed when Ipernity returned an error
IpernityNET.IpernityObjects..::.ObjectNotConfiguredExceptionThrowed when an Ipernity object has not been configured.

See Also