Partager via


<Authorization Rule or Business Rule> Property Sheet

Applies To: Windows Server 2008

Important

Authorization Manager is available for use in the following versions of Windows: Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows XP, Windows Vista, Windows 7, and Windows 8. It is deprecated as of Windows Server 2012 R2 and may be removed in subsequent versions.

The following table describes the UI elements for this dialog box.

Item Description

Script source code

Shows the source code for the rule. You cannot edit the code in this field, so you must write your scripts in a text editor and then upload them.

Script path

Provides a space for you to type the path to a file containing the script code for the rule. Once you load the script into the authorization store, its source code will be displayed.

Browse

Opens the browse dialog box so that you can browse to the file containing the script for the rule.

Script type

Specifies the scripting language used to create the rule.

VBScript

Specifies that the VBScript language is being used for the rule.

For example, the following VBscript code always grants permission:

AzBizRuleContext.BusinessRuleResult = True

JScript

Specifies that the JScript language is being used for the rule. For example, the following JScript always grants permission:

AzBizRuleContext.BusinessRuleResult = true;

Reload Rule into Store

Reloads the rule into the store from the file provided in the Script path, and displays the source code.

Clear Rule from Store

Removes the rule from the store.

Additional considerations

When used to define members of an application group, a script is called a Business rule. When used to define a role or task, a script is called an Authorization rule.

The use of business rules and authorization rules on each client computer is controlled by a registry setting. In this version of Windows, rules are disabled by default. In earlier versions of Windows, they are enabled by default. For more information, see Control Authorization Using Authorization Rules and Business Rules.

In addition, you can also disable rules entirely for an authorization store on the Limits tab of the authorization store properties sheet. For more information, see Understanding Authorization Manager Store Limits

Additional references