Freigeben über


AuthorizationPolicyPath Property

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

Gets or sets the path to the Authorization Manager authorization policy for use with the CatalogContext to be created.

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

Syntax

'Declaration
Public Property AuthorizationPolicyPath As String
'Usage
Dim instance As CatalogSiteAgent
Dim value As String

value = instance.AuthorizationPolicyPath

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

Property Value

Type: System..::.String
The path to the Authorization Manager authorization policy for use with the CatalogContext.

Remarks

This can be used to enforce authorization using an Authorization Manager authorization policy when using HttpContext or ThreadContext.

Specifies the path where the authorization policy for the site can be found. This path can be a full path or a relative path. If a full path is not specified then the path will be relative to the physical directory of the Catalog Web service.

You can use a different authorization policy by changing the AuthorizationPolicyPath.

Permissions

See Also

Reference

CatalogSiteAgent Class

CatalogSiteAgent Members

Microsoft.CommerceServer.Catalog Namespace