AuthorizationEnabled Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets a flag indicating whether the authorization checks are enabled on the web service.
Namespace: Microsoft.CommerceServer.Catalog.WebService
Assembly: Microsoft.CatalogServer (in Microsoft.CatalogServer.dll)
Syntax
'Declaration
Protected ReadOnly Property AuthorizationEnabled As Boolean
'Usage
Dim value As Boolean
value = Me.AuthorizationEnabled
protected bool AuthorizationEnabled { get; }
protected:
property bool AuthorizationEnabled {
bool get ();
}
protected function get AuthorizationEnabled () : boolean
Property Value
Type: System..::.Boolean
true when the CatalogWebService element, DisableAuthorization is true; otherwise false.
Remarks
Gets the authorization enabled value as specified in the Web.Config. This value will be true when the CatalogWebService element, disableAuthorization is false, and false when the CatalogWebService element, disableAuthorization is true.
Returns a flag indicating whether or not authorization checks are enabled on the web service.
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.