UserID Property

The UserID property of the UserInfo class gets the globally unique identifier (GUID) for the current user.

Property Value

System.Guid GUID for the current user.

Remarks

The UserID property is read-only.

Requirements

Platforms: Microsoft Windows ServerĀ 2003

Security: Code Access Security