ENROLL
Function
Scripting equivalent of the Add Person function. Creates an application document for the user in folder defined as the Members List. If a Members List folder does not exist, one will be created and named Roster.
Syntax
ENROLL USER userID path
ENROLL CLIENT CID path
Parameters
USER userID |
The user specified by the user ID. |
CLIENT CID |
The user spcificed by the client ID. |
path |
An object specified by path, relative to the administrator’s Desktop. |
Example
To add a user, whose user ID is sbram to the members list of an application container named Project Highland, located in FirstClass Applications > Projects
ENROLL USER sbram "FirstClass Applications:Projects:Project Highland"
To add a user, whose Clientr ID is 1752 to the members list of an application container named Project Highland, located in FirstClass Applications > Projects:
ENROLL CLIENT 1752 "FirstClass Applications:Projects:Project Highland"
|