ADSSession class
The Attributes property provides information on the attributes of the current session. These attributes may include restrictions on what the client is able to do.
This property is read-only.
long
C++ |
session->get_Attributes(long *attributes) |
VB |
session.Attributes |
The property may be set to any combination of the following values:
ADS_SESSION_NO_SYSTEM |
The client is not permitted to schedule jobs to run under the Local System account. |
ADS_SESSION_RESTRICT_ACCESS |
The client only has access to jobs scheduled to run under the client user name. Other jobs are not visible. |
The API will enforce the restrictions specified in the attributes (i.e., will not allow a job to be added if ADS_SESSION_NO_SYSTEM is set). The attributes are made available so that the client can also take appropriate action (e.g., display the appropriate user interface).