sec_cred_get_delegation_type- Returns the delegation type from a privilege attribute handle
#include <dce/sec_cred.h> sec_id_delegation_type_t *sec_cred_get_delegation_type ( sec_cred_pa_handle_t callers_pas, error_status_t *status );
Input
- callers_pas
A value of type sec_cred_pa_handle_t that provides a handle to a principal's privilege attributes. This handle is supplied as output of either the sec_cred_get_initiator() call or sec_cred_get_delegate() call.
Output
- status
A pointer to the completion status. On successful completion, status is assigned error_status_ok.
Thesec_cred_get_delegation_type() routine extracts the delegation type from the privilege attribute handle identified by callers_pas and returns it in a sec_id_delegation_type_t.Before you execute
sec_cred_get_delegation_type() , you must execute asec_cred_get_initiator() orsec_cred_get_delegate() call to obtain a sec_cred_pa_handle_t for the callers_pas argument.
- /usr/include/dce/sec_cred.idl
The idl file from which dce/sec_cred.h was derived.
- sec_cred_s_invalid_pa_handle
- error_status_ok
Functions:sec_cred_get_delegate() ,sec_cred_get_initiator() .
Contents | Next section | Index |