sec_rgy_attr_lookup_by_name(3sec)Read a single attribute instance for a specific object Synopsis
#include <dce/sec_rgy_attr.h> Parameters Input
context
name_domain
sec_rgy_domain_principal
sec_rgy_domain_group
sec_rgy_domain_org
name
attr_name Output
attr
status
error_status_ok
more_available
attribute_set_instance An error message if the routine did not complete successfully.
Description For multivalued attributes, this routine returns the first instance of the attribute. To retrieve every instance of the attribute, use the sec_rgy_attr_lookup_by_id call, supplying the attribute UUID returned in the attr parameter. For attribute sets, the routine returns the attribute set instance, not the member instances. To retrieve all members of the set, use the sec_rgy_attr_lookup_by_id call, supplying the attribute set UUID returned in the attr parameter. After a successful call, free the resources allocated by this routine for the attr parameter with the sec_attr_util_inst_free_ptrs( ) routine. This routine does not provide for input data to an attribute trigger query operation. If the named attribute is associated with a query attribute trigger, the attribute trigger will be called with no input attribute value information.
Permissions Required 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. unauthorized registry server unavailable trigger server unavailable error_status_ok
Related Information sec_rgy_attr_lookup_by_id(3sec) sec_rgy_attr_lookup_no_expand(3sec)
|