Previous Topic: Access Network ResourcesNext Topic: C-LANG Statements


Specifying a Password for a User ID

You can define a Windows job to access Windows network resources by specifying the user ID and the domain name the user ID belongs to using the USER statement. The resources are accessed under the specified user ID.

Note: To use the USER statement in a Windows job, your agent must run as a Windows service under the local system account.

If the user ID requires a password, your administrator must define the password on the scheduling manager. For security reasons, you do not define the password in the job definition. The password is encrypted and stored separately from the user ID. For more information on defining passwords and other security requirements, refer to your scheduling manager's documentation.

When you specify a user ID that requires a password in a job definition, the scheduling manager sends the agent the user ID and password pair (the password is encrypted). The scheduling manager searches the repository for an entry matching the specified user name with the job type and a qualifier equal to the agent name. This search returns a password that most closely matches the search parameters. If there are no matching entries, an entry with no type or qualifier is returned.

The following job types require a user password:

Note: If you define the user ID in the Services setup on the Windows computer instead of using the USER statement, you need to define the password in the Services setup also.