Skip to content

Commit 5ddd1dc

Browse files
committed
Merge pull request #314 from sharwell/identity-docs
Updated documentation for CloudIdentityProvider.GetUsersByEmail
2 parents 580be78 + 9a5fead commit 5ddd1dc

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

src/corelib/Providers/Rackspace/CloudIdentityProvider.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,18 @@ public virtual User GetUserByName(string name, CloudIdentity identity)
565565
return response.Data.User;
566566
}
567567

568-
/// <inheritdoc/>
568+
/// <summary>
569+
/// Gets the details for users with the specified email address.
570+
/// </summary>
571+
/// <param name="email">The email address.</param>
572+
/// <param name="identity">The cloud identity to use for this request. If not specified, the <see cref="DefaultIdentity"/> for the current provider instance will be used.</param>
573+
/// <returns>A collection of <see cref="User"/> objects describing the users with the specified email address.</returns>
574+
/// <exception cref="ArgumentNullException">If <paramref name="email"/> is <see langword="null"/>.</exception>
575+
/// <exception cref="ArgumentException">If <paramref name="email"/> is empty.</exception>
576+
/// <exception cref="NotSupportedException">If the provider does not support the given <paramref name="identity"/> type.</exception>
577+
/// <exception cref="InvalidOperationException">If <paramref name="identity"/> is <see langword="null"/> and no default identity is available for the provider.</exception>
578+
/// <exception cref="ResponseException">If the REST API request failed.</exception>
579+
/// <seealso href="http://docs.rackspace.com/auth/api/v2.0/auth-client-devguide/content/GET_getUserByEmail_v2.0_users_User_Calls.html">Get User by Email (Rackspace Cloud Identity Client Developer Guide - API v2.0)</seealso>
569580
public virtual IEnumerable<User> GetUsersByEmail(string email, CloudIdentity identity)
570581
{
571582
if (email == null)

0 commit comments

Comments
 (0)