Name

assistants, scheduler.assistants, kPMRPCSchedulerAssistants, kPMObserveSchedulerAssistants — Local assistant signatures.

Synopsis

array of s scheduler.assistants( );  
 

Description

Local assistant signatures.

available assistants helping the scheduler on the local host. Assistants provide the means to run executables within user sessions and perform user specific tasks, such as logging out.

Returns

assistants is an array of assistant structures. Each item in assistants must be unique.

Observable

Changes to assistants can be observed, without polling, using scheduler.assistants, kPMObserveSchedulerAssistants.

Security

assistants can be requested by any authenticated client.

Unauthenticated clients are authorized using the uk.co.dssw.powermanager.scheduler.assistants right. By default, any local process can request assistants.

Availablility

pmdctl

Examples

Example 113. C: scheduler.assistants


CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCSchedulerAssistants);


Example 114. Objective-C: scheduler.assistants


DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCSchedulerAssistants];


Example 115. AppleScript: scheduler.assistants


tell application "Power Manager Scripting"
    set myResult to assistants of Scheduler
end tell


Example 116. Shell: scheduler.assistants


./pmctl scheduler.assistants