OSF DCE Application Development Guide--Core Components

The Registry API
27.2.3.3 Organization Policies
Another parameter set controls the set of accounts of principals that are members of an
organization. These parameters control the lifetime and length of passwords, as well as
the set of characters from which passwords may be composed. This parameter set also
specifies the default lifespan of accounts associated with the organization. The routines
associated with this parameter set are
sec_rgy_plcy_get_info()
sec_rgy_plcy_get_effective()
sec_rgy_plcy_set_info( )
27.2.4 Routines to Return UNIX Structures
The registry API provides calls to obtain registry entries in a UNIX compatible structure.
These APIs return account and group entries similar to the getpwnam, getgrnam,
getpwuid, and getgrid UNIX library routines. These APIs, which can be called by the
corresponding UNIX library routines to ensure compatibility with UNIX programs, are
sec_rgy_unix_getpwnam()
Returns a UNIX compatible password entry for an account specified by name
sec_rgy_unix_getgrnam( )
Returns a UNIX compatible group entry for an account associated with a specified
group name
sec_rgy_unix_getpwuid()
Returns a UNIX compatible password entry for an account specified by UNIX ID
sec_rgy_unix_getgrgid( )
Returns a UNIX compatible group entry for an account associated with a specified
group ID
27.2.5 Miscellaneous Registry Routines
The registry API includes a few miscellaneous routines, as follows:
sec_rgy_login_get_info( )
Returns login information for the specified account.
sec_rgy_login_get_effective( )
Applies local overrides (if such data is available) to registry account information and
returns information about which account information fields have been overridden
124245 Tandem Computers Incorporated 277