|
|
PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Gets the user id used by the User Profile.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[(Name = "{0}.UserId")]
public static <int> GetUserId(
context
) | |
| Visual Basic (Declaration) | |
|---|---|
<(Name := "{0}.UserId")> _
Public Shared Function GetUserId ( _
context As _
) As (Of Integer) | |
Parameters
- context
- IRenderContext
The context.
Return Value
UserId, or null if no user is authenticated
See Also
PersonalizationModule Class
Smartsite.Runtime.Modules Namespace