CloudIdentityProviderGetUserCredential Method |
Namespace: net.openstack.Providers.Rackspace
public virtual UserCredential GetUserCredential( string userId, string credentialKey, CloudIdentity identity )
Exception | Condition |
---|---|
ArgumentNullException |
If userId is .
-or- If credentialKey is . |
ArgumentException |
If userId is empty.
-or- If credentialKey is empty. |
NotSupportedException |
If the provider does not support the OS-KSADM Admin Extension.
-or- If the provider does not support the given identity type. |
InvalidOperationException | If identity is and no default identity is available for the provider. |
ResponseException | If the REST API request failed. |