Name
name, timezone.name, kPMRPCTimeZoneName, kPMObserveTimeZoneName — name
Synopsis
string timezone.name( |
) ; |
Description
name
Full name of the system time zone.
Returns
name
is a string.
Observable
Changes to name
can be observed, without polling, using timezone.name, kPMObserveTimeZoneName
.
Security
name
can be requested by any authenticated client.
Unauthenticated clients are authorized using the uk.co.dssw.powermanager.timezone.name
right. By default, any local process can request name
.
Availablility
pmdctl |
Examples
Example 127. C: timezone.name
CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCTimeZoneName);
Example 128. Objective-C: timezone.name
DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCTimeZoneName];
Example 129. AppleScript: timezone.name
tell application "Power Manager Scripting" set myResult to name of Time Zone end tell
Example 130. Shell: timezone.name
./pmctl timezone.name