GlobalTrusteeRightsSetRights Method (ConnectionId, SessionId, Int32, AccountType, GlobalRights) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Sets new global rights to a trustee

Namespace: ContentStudio.Security
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public void SetRights(
	ConnectionId connectionId,
	SessionId sessionId,
	int trusteeId,
	AccountType trusteeType,
	GlobalRights rightsMask
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
trusteeId
Type: SystemInt32
An identifier to the trustee to set rights for
trusteeType
Type: ContentStudio.SecurityAccountType
Type of trustee indicated by the TrusteeID parameter. Currently only the AccountType.Group is supported.
rightsMask
Type: ContentStudio.SecurityGlobalRights
The new GlobalRights mask to set
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Global group admin trustee right is required to update any global trustee rights.
See Also

Reference