OSF DCE Application Development Guide--Core Components
OSF DCE Application Development Guide—Core Components
structure.
29.6.3 Getting Password and Group Information for Local Process
Identities
Two calls, sec_login_get_pwent() and sec_login_get_groups(), are useful for setting
the local identity of a process. These routines return password or group information from
the network registry, if that service is available, or from the local files of password and
group information, if the network service is unavailable.
29.6.4 Releasing and Purging a Context
When a process is finished using a login context, it may call
sec_login_release_context( ) to free storage occupied by the context handle. When a
process releases a login context, the context is still available to other processes that use
it. If an application needs to destroy a login context, it may call
sec_login_purge_context(), which also frees storage occupied by the handle. Since a
destroyed context is unavailable to all processes that use it, application developers
should be careful when using sec_login_purge_context().
29−8 Tandem Computers Incorporated 124245