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 121. C: timezone.name


CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCTimeZoneName);


Example 122. Objective-C: timezone.name


DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCTimeZoneName];


Example 123. AppleScript: timezone.name


tell application "Power Manager Scripting"
    set myResult to name of Time Zone
end tell


Example 124. Shell: timezone.name


./pmctl timezone.name