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