AuthenticationBaseCloseUserSession Method Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Closes any open user session for any user

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

public void CloseUserSession(
	ConnectionId connectionId,
	SessionId sessionId,
	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, Object).
userId
Type: SystemInt32
An integer identifying the user whose session should be closed.
Content Studio permissions

Only user that has membership in a group with the GlobalGroupAdmin permission can successfully execute this method.
Remarks

To close the session for the calling user use the CloseSession(ConnectionId, SessionId) method.
A session can also be closed when session has timed out after a certain time of inactivity. After that this method has been called the Session ID will be invalid and all calls to the Content Studio API will fail with the exception 1001 - The session is invalid.
See Also

Reference