UserVerify Method (ConnectionId, SessionId, String, String, String, String, String, DateTime, String, Int32, 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 sid,
	string domain,
	string userName,
	string fullName,
	string description,
	DateTime expires,
	string emailAddress,
	int actAs,
	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).
sid
Type: SystemString
A SecurityIdentifier in its ssdl form that identifies the user to verify.
domain
Type: SystemString
The domain name of the user
userName
Type: SystemString
The user's login name
fullName
Type: SystemString
The user's full name
description
Type: SystemString
The user's description
expires
Type: SystemDateTime
This value indicates when the user account expires. Use DateTime.MinValue to indicate that the account does not expire.
emailAddress
Type: SystemString
The user's email address
actAs
Type: SystemInt32
Currently only used by the installation process. Just pass -1
userId
Type: SystemInt32
Returns the ID of the verified user

Return Value

Type: String
XML
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
Remarks

This version registers/verifies a user without verifying the account against the underlying NT network.
See Also

Reference