This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns the user id of the user currently logged on.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(IsDeterministic = false)]
public static int UserId()
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := False)> _
Public Shared Function UserId As Integer

Return Value

The user id of the user currently logged on.

See Also

Advanced