The getrdn function returns the naming attribute of an entry, that is the attribute used in the entry's RDN. The syntax for the getrdn operation is:
variableA=getrdn() |
The getrdn function can only be used in variables in the Condense section.
For example, the cn attribute of a machine has the values camembert, Cam, Bertie, but the actual system name of the machine, used in the RDN is camembert. For example, you could create the following variable:
HostName=getrdn() |
The getrdn function returns the name camembert.
The getrdn function is case-sensitive.