Share via


UserInfo.UserID Property

Gets the globally unique identifier (GUID) for the current user.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public ReadOnly Property UserID As Guid
    Get
'Usage
Dim instance As UserInfo
Dim value As Guid

value = instance.UserID
public Guid UserID { get; }

Property Value

Type: System.Guid
System.Guid object that represents the GUID for the current user.

Remarks

The UserID property is read-only.

See Also

Reference

UserInfo Class

UserInfo Members

Microsoft.Office.Server.Audience Namespace