Return the username associated with a credential object.
object to check
the credential username, or NULL if not applicable
See Implementation
Return the username associated with a credential object.