Previous Topic: Passing Account AttributesNext Topic: Creating Custom ADS Attributes


Passing Global User Attributes

When ADS accounts are created through an ADS account template, attributes from the global user associated with the account template can be passed to the Windows command line commands in ADSExitUsrPreAdd.txt and ADSExitUsrPostAdd.txt.

For each global user attribute that is to be passed to the ADS command line interface, a custom ADS attribute must be created. (See the section on Creating Custom ADS Attributes, for more information.) Once a custom ADS attribute is created, the attribute appears in the ADS Account Template property sheet on the Custom page. The custom attributes do not appear on account templates that do not have an ADS endpoint assigned on the Endpoint property page of the account template. A new ADS account template will not display the custom attributes until an ADS endpoint is added on the Endpoint property page and the new ADS account template is saved.

The ADS custom attributes can be assigned to any rule string representing attribute values on the global user. During ADS account creation, the value of the ADS custom attribute contains the global user attribute value that is specified in the rule string. This value is accessible in ADSExitUsrPreAdd.txt and ADSExitUsrPostAdd.txt by specifying the ADS custom attribute name surrounded with the percent sign (%) delimiter. The following is an example:

myfile.bat %eTADSExitOnlyDiskSize%