DisableAuthorization Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets a value indicating if the authorization is enabled.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public ReadOnly Property DisableAuthorization As Boolean
'Usage
Dim instance As OrderSiteAgent
Dim value As Boolean
value = instance.DisableAuthorization
public bool DisableAuthorization { get; }
public:
property bool DisableAuthorization {
bool get ();
}
public function get DisableAuthorization () : boolean
Property Value
Type: System..::.Boolean
true to indicate that the authorization is enable; otherwise false.
Remarks
Returns true to indicate that authorization is enabled.
If DisableAuthorization =true the Orders system does not perform authorization checks. If DisableAuthorization =false the Orders system does perform authorization checks and the AuthorizationPolicyPath should point to a valid authorization policy.
You can set DisableAuthorization =true to turn off authorization for this site. The default value is false.
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.