Share via


AuthManager Constructor (String, DebugContext) (BCL)

Use this method to create a new instance of the AuthManager class.

[Visual Basic .NET]

Public Sub New( _ByValsiteName As System.String, _
  ByValdebugContext As DebugContext _
) 

[C#]

public AuthManager(System.StringsiteName,
  DebugContextdebugContext);

Parameters

[Visual Basic .NET]

  • siteName
    A String that contains the Commerce Server site name.
  • debugContext
    An instance of the DebugContext class. Determines how debugging and tracing information output by this class will be output to the user.

[C#]

  • siteName
    A String that contains the Commerce Server site name.
  • debugContext
    An instance of the DebugContext class. Determines how debugging and tracing information output by this class will be output to the user.

Remarks

After any AuthManager instance has been initialized within an ASP.NET-based site, any new instances of the AuthManager class initialized within that site use the cached resources as loaded by the first constructor. Therefore, even if a different value is used for the siteName parameter, the AuthManager object will still be configured to run using the site configuration specified in the first instance.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.