sec_login_set_extended_attrs(3sec)Constructs a new login context that contains extended registry attributes Synopsis
#include <dce/sec_login.h> Parameters Input
my_login_context
num_attributes
attributes[ ] Output
status
Description The input attributes[ ] array of sec_attr_t values should specify the attr_id field for each requested attribute. Since the lookup is by attribute type ID only, set the attribute.attr_value.attr_encoding field to sec_attr_enc_void for each attribute. Note that sec_attr_t is an Extended Registry Attribute data type. For more information on Extended Registry Attributes, see the description of the sec_attr calls in this document and the DCE Application Development Guide - Core Components. You cannot use this call to add extended registry attributes to a delegation chain. If you pass in a login context that refers to a delegation chain, an invalid context error will be returned. The routine returns a new login context of type sec_login_handle_t that includes the attributes specified in the attributes[ ] array. Files
/usr/include/dce/sec_login.idl Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages. sec_login_s_invalid_context error_status_ok
Related Information sec_login_become_impersonator(3sec) sec_login_setup_identity(3sec) sec_login_validate_identity(3sec) sec_rgy_attr_*(3sec) calls
|