What is the syntax for the 'Do file Argument' to pass the username to a batch file? (NETIQKB19102)

  • 7719102
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
What is the syntax for the 'Do file Argument' to pass the username to a batch file?

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.x

fix

The syntax in the Do file Argument to pass the SamAccountName is:

%In.Properties.SamAccountName% 

Information regarding syntax can be found in the Software Development Kit.  Below is an Excerpt from the SDK in regards to specifying arguments.

To specify arguments in the Administration MMC interface, use the following syntax:

  • Specify a space between each argument.
  • Specify quotation marks (") around arguments containing spaces. For example, to specify the string My Name is Bob as one argument, specify "My name is Bob" in the argument string. If you do not specify quotation marks, the string My Name is Bob has four arguments: My, Name, is, and Bob.
  • Specify percent signs (%) around variable names. You can use property names as variables. For example, to specify the SAM Account name for the UserCreate Administration server operation, specify
    %In.Properties.SamAccountName%. The variables you can use vary depending on the Administration server operation with which you are working.


Additional Information

Formerly known as NETIQKB19102