Novell eDirectory Attribute Macros

Novell® Application LauncherTM supports macros that pull information from the attributes of the currently logged-in user, the current Application object, or from the attributes of other Novell eDirectoryTM objects. To use an eDirectory attribute as a macro you must enclose it in % characters (for example, %CN%).

Example
A GroupWise® Application object runs ofwin.exe with a command line parameter:

/U-@username

@username can be replaced with a macro that uses a user's eDirectory common name (CN):

/U-%CN%

If the eDirectory object name is the same as the e-mail login for GroupWise, every user that runs the application has the correct username passed in to GroupWise.

eDirectory Attribute Variables for Current User
To use eDirectory attributes associated with the current user, use the following syntax:

%attrib%

The following list provides examples:

Example Description
%CN% Common Name (user's object name or login name)
%DN% User's Full Distinguished Name (used with Application Launcher only)
%Given Name% Given Name
%Surname% Last Name
%Full Name% Full Name
%Telephone Number% Telephone
%Home Directory% Home Directory
%Mailbox ID% Mailbox ID

By default, the currently logged-in user is the source eDirectory object for these attributes.

You can use the Schema Manager (Tools menu) to view an eDirectory object's available attributes.

eDirectory Attributes from Other Objects
To use eDirectory attributes from another object, use the following syntax:

%.objname.container;attrib%

The following example causes Application Launcher to use the Description attribute of the JSmith object located in the Novell container:

%.JSmith.Novell;Description%

You can use the Schema Manager (Tools menu) to view an eDirectory object's available attributes.

eDirectory Attributes from the Current Application Object
To use eDirectory attributes from the current Application object, use the following syntax:

%*;attrib%

The following list provides examples:

Example Description
%*;DN% Application object's distinguished name
%*;App:Caption% Application Icon Title
%*;App:Path% Path to File
%*;App:GUID% GUID
%*;App:Version String % Version Stamp

You can use the Schema Manager (Tools menu) to view an eDirectory object's available attributes.



ZENworks Desktop Management Online Documentation

A trademark symbol (®, TM, etc.) denotes a Novell trademark. An asterisk denotes a third-party trademark. For information on trademarks, see Legal Notices.