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

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

Verifies/registers a Content Studio user. If the user is missing in Content Studio she will be registered.

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

public string Verify(
	ConnectionId connectionId,
	SessionId sessionId,
	string domain,
	string userName,
	out int userId
)

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 domain name of the user
userName
Type: SystemString
The user's login name
userId
Type: SystemInt32
Returns the ID of the verified user

Return Value

Type: String
XML with user's data
Exceptions

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

If the user is missing in Content Studio, she will be registered and if already present the NT/Active directory details will be updated from the system security database.
See Also

Reference