Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetDescriptorAuthUserName
 
awGetDescriptorAuthUserName
BrokerError awGetDescriptorAuthUserName(
BrokerConnectionDescriptor desc,
char **user_name);
desc
The Broker descriptor. This parameter is used for output.
user_name
The user name available in the descriptor, desc.
Returns the user name of the basic authentication user available in the descriptor.
Note:
You must free the output user_name string after a successful awGetDescriptorAuthUserName call.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_DESCRIPTOR
The desc parameter is invalid.
AW_ERROR_NULL_PARAM
The user_name parameter is NULL.
AW_ERROR_NO_MEMORY
Cannot allocate memory for the output parameter, user_name.
See also: