AuthManager.SetProfileTicket (String, Boolean) Method (BCL)

Use this method to set an MSCSProfile ticket for an anonymous user.

[Visual Basic .NET]

Public Sub SetProfileTicket( _ByValuserID As System.String, _
  ByValcookieSupport As System.Boolean _
) 

[C#]

public void SetProfileTicket(System.StringuserID,
  System.BooleancookieSupport);

Parameters

[Visual Basic .NET]

  • userID
    A String that contains the user ID. This parameter should be set to an empty string when logging a user off.
  • cookieSupport
    A Boolean that indicates whether or not the client supports cookies.

[C#]

  • userID
    A String that contains the user ID. This parameter should be set to an empty string when logging a user off.
  • cookieSupport
    A Boolean that indicates whether or not the client supports cookies.

Remarks

The Commerce Server .NET Application Framework Tutorial contains code samples that set a profile ticket for a user. For more information, see Step 7: Add User Login and Logoff Pages and Step 8: Add a New User Registration Page.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.