SaScreenPolicy(3tlib)


SaScreenPolicy: SaScreenPolicyGet, SaScreenPolicySet -- save/restore configurable application variables for SCOadmin clients

Synopsis

SaScreenPolicyGet client attribute
SaScreenPolicySet client attribute value

Description

SaScreenPolicyGet- get stored user preferences for manager

SaScreenPolicySet- store user preferences for manager

The SaScreenPolicy interface enables SCOadmin applications to retain per-user configurable variables across multiple invocations. Values are stored in a common per-user file in a section reserved for the individual application. All SCOadmin application values are collected together in a single file avoiding unnecessary file system pollution and providing the user with a central place for all preferences.

SaScreenPolicy is implemented using the Stanza files.

Arguments


client
string (without embedded white space) that uniquely identifies calling application from all other SCOadmin applications. Must conform to the rules for Stanza section names.

attribute
name for configurable variable. Must conform to the rules for Stanza attribute names.

value
attribute value being set or returned. Must conform to the rules for Stanza values.

Files

$HOME/.scoadmin.pref - the per-user SCOadmin stanza file.

Diagnostics

Errors are thrown, typically from the underlying Stanza interfaces. These should be handled eventually withErrorCatch.

References

Stanza(3tlib).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004