GroupVerify Method (ConnectionId, SessionId, String, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Verifies a group registered in Content Studio or registers a new group. If the group is missing in Content Studio it will be registered.

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

public int Verify(
	ConnectionId connectionId,
	SessionId sessionId,
	string domain,
	string groupName
)

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).
domain
Type: SystemString
The name of the domain to which the account belong
groupName
Type: SystemString
The name of the group

Return Value

Type: Int32
The identifier of the verified account
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database or the account could not be found on the network
SqlExceptionAn error occurred when executing the command against the Content Studio database
Remarks

This function verifies the account against the AD/NT network. If the account could not be found a CSException is thrown
See Also

Reference