BasicUserInfo Class

Represents a standard user in a directory.

Inheritance Hierarchy

Syntax

public class BasicUserInfo : IUserDirectoryUser, IUserDirectoryPrincipal, IEquatable<IUserDirectoryPrincipal>, IEquatable<IUserDirectoryUser>, IHasChangePasswordUrl, IEquatable<BasicUserInfo>

Constructors

Name Description
BasicUserInfo(string name, string displayName, string emailAddress, System.Collections.Generic.IEnumerable<string> groupNames)
BasicUserInfo(string name, string displayName, string emailAddress)

Initializes a new instance of the BasicUserInfo class.

BasicUserInfo(string name, string displayName)

Initializes a new instance of the BasicUserInfo class.

BasicUserInfo(string name)

Initializes a new instance of the BasicUserInfo class.

Properties

Name Description
DisplayName

Gets the friendly display name of the user.

EmailAddress

Gets the user's email address.

Name

Gets the login name of the user.

PasswordChangeUrl

Gets or sets the URL where the user can change their password.

Methods

Name Description
Equals(BasicUserInfo other)

Returns a value indicating whether this user is equivalent to the specified other user.

Equals(object obj)

Returns a value indicating whether this user is equivalent to the specified other user.

GetHashCode

Returns the hash code for the instance.

IsMemberOfGroup(string groupName)

Returns a value indicating whether this user is a member of the specified group.

ToString

Returns the user name.