Previous section.

DCE 1.1: Authentication and Security Services
Copyright © 1997 The Open Group

NAME

sec_login_get_current_context-Retrieve this process' current login context.

SYNOPSIS

#include <dce/sec_login.h>

void sec_login_get_current_context (
    sec_login_handle_t *login_context,
    error_status_t *status );

PARAMETERS

Output

login_context

The retrieved current login context.

status

The completion status.

DESCRIPTION

The sec_login_get_current_context() routine retrieves a process' current login context.

In typical implementations, this routine returns the login context information contained in the cache file named by an (implementation-specific) well-known environment variable (typically, KRB5CCNAME).

ERRORS

error_status_ok

sec_login_s_internal_error

sec_login_s_no_current_context

SEE ALSO

Functions: sec_login_set_context().
Please note that the html version of this specification may contain formatting aberrations. The definitive version is available as an electronic publication on CD-ROM from The Open Group.

Contents Next section Index