AuthManager.SetAuthTicket (String, Boolean, Int32) Method (BCL)

Use this method to set an encrypted MSCSAuth ticket for a registered user.

[Visual Basic .NET]

Public Sub SetAuthTicket( _ByValuserID As System.String, _
  ByValcookieSupport As System.Boolean, _
  ByValtimeWindow As System.Int32 _
) 

[C#]

public void SetAuthTicket(System.StringuserID,
  System.BooleancookieSupport,
  System.Int32timeWindow);

Parameters

[Visual Basic .NET]

  • userID
    A String that contains the user ID.
  • cookieSupport
    A Boolean that indicates whether or not the client supports cookies.
  • timeWindow
    An Integer that contains the time period in minutes.

[C#]

  • userID
    A String that contains the user ID.
  • cookieSupport
    A Boolean that indicates whether or not the client supports cookies.
  • timeWindow
    An Integer that contains the time period in minutes.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.