CloudIdentityProvider.SetUserPassword Method (User, String, CloudIdentity) |
Namespace: net.openstack.Providers.Rackspace
public virtual bool SetUserPassword( User user, string password, CloudIdentity identity )
Exception | Condition |
---|---|
ArgumentNullException |
If user is null.
-or- If password is null. |
ArgumentException |
If password is empty.
-or- If user.Id is null or empty. -or- If user.Username is null or 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 null and no default identity is available for the provider. |
ResponseException | If the REST API request failed. |