UserID Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the unique identifier for the user of for the profile 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 ProfileTicket
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 ID for the profile ticket.
Exceptions
Exception | Condition |
---|---|
CommerceAuthenticationFailedDecryptionException | The user ID could not be obtained or set. |
CommerceAuthenticationException | The user ID could not be obtained or set. |
Remarks
If there is no user ID, nullNothingnullptra null reference (Nothing in Visual Basic) is returned.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.