Share via


AuthTicket.UserID Property (BCL)

The UserID property is a read-only string that contains the user ID on the authentication ticket.

Definition

[Visual Basic .NET]

Overrides Public Property UserID As System.String

[C#]

public override System.String UserID{get; set;} 

Property Value

The user ID on the authentication ticket.

Remarks

The UserId property populates the CommerceContext.UserId property when the get method first tries to retrieve it from the AuthTicket of the AuthenticationInfo object, assuming the CommerceAuthenticationModule object is enabled for the site.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.