Jaa


UserID Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the user identification on the authentication ticket.

Namespace:  Microsoft.CommerceServer.Runtime
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Property UserID As String
'Usage
Dim instance As AuthTicket
Dim value As String

value = instance.UserID

instance.UserID = value
public override string UserID { get; set; }
public:
virtual property String^ UserID {
    String^ get () override;
    void set (String^ value) override;
}
public override function get UserID () : String
public override function set UserID (value : String)

Property Value

Type: System..::.String
The user identification on the authentication ticket.

Exceptions

Exception Condition
CommerceAuthenticationFailedDecryptionException

The user identification could not be obtained or set.

CommerceAuthenticationException

The user identification could not be obtained or set.

Remarks

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

Permissions

See Also

Reference

AuthTicket Class

AuthTicket Members

Microsoft.CommerceServer.Runtime Namespace