Gets the currently logged in user identifier.

Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public int UserId { get; }
Visual Basic
Public ReadOnly Property UserId As Integer
	Get

Field Value

The user identifier.

See Also