Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
1.9 KiB

<?xml version="1.0"?>
<AzAdminManager MajorVersion="1"
MinorVersion="0"
Description="This store is used to test managed interop wrapper of AzRoles">
<AzApplication Guid="7450cf7b-70cd-48dd-aaff-275e3fcbdab6"
Name="WebSites"
Description="Web Site management"
ApplicationVersion="">
<AzTask Guid="f1e23ff9-fe35-4424-80c4-4d5745f15272"
Name="Create"
Description="Create a new site"
BizRuleImportedPath="E:\Research\roles\authorize.vbs">
<BizRuleLanguage>VBScript</BizRuleLanguage>
<BizRule>AzBizRuleContext.BusinessRuleResult = TRUE</BizRule>
<OperationLink>93426a1e-75cf-4fd3-9cbc-54cdd23ae715</OperationLink>
</AzTask>
<AzOperation Guid="93426a1e-75cf-4fd3-9cbc-54cdd23ae715"
Name="CreateDirectory"
Description="">
<OperationID>20</OperationID>
</AzOperation>
<AzOperation Guid="cf63e40c-d08f-4c84-82a5-5da07b95138e"
Name="CreateSite"
Description="">
<OperationID>22</OperationID>
</AzOperation>
<AzScope Guid="ebba74cf-1e5d-4e11-b94f-76dbbb9d976b"
Name="Create"
Description="">
<AzTask Guid="d93f0c7a-48ac-45fd-a649-4f35e9c40a00"
Name="SellService"
Description=""
BizRuleImportedPath="E:\AzTest\CS\authorize.vbs"
RoleDefinition="True">
<BizRuleLanguage>VBScript</BizRuleLanguage>
<BizRule>
Dim Amount
Amount = AzBizRuleContext.GetParameter( "Amount")
if Amount &lt; 500 then
AzBizRuleContext.BusinessRuleResult = TRUE
Else
AzBizRuleContext.BusinessRuleResult = FALSE
End If
</BizRule>
<TaskLink>f1e23ff9-fe35-4424-80c4-4d5745f15272</TaskLink>
</AzTask>
<AzRole Guid="cdb20b84-69dd-44dd-a8e1-5629d9b5dba5"
Name="Salesperson">
<TaskLink>d93f0c7a-48ac-45fd-a649-4f35e9c40a00</TaskLink>
<Member>S-1-1-0</Member>
</AzRole>
</AzScope>
</AzApplication>
</AzAdminManager>