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

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

Tries to read a UserSessionId from one of the several Content Studio base classes

Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public static int GetUserSessionId()

Return Value

Type: Int32
The current UserSessionId
Exceptions

ExceptionCondition
InvalidOperationExceptionIf executed on a page that doesn't inherit from any of the Content Studio base classes an InvalidOperationException is thrown.
See Also

Reference