UserDirectory Class

Base class for user directories.

Inheritance Hierarchy

Syntax

public class UserDirectory : Inedo.Diagnostics.ILogSink

Constructors

Name Description
UserDirectory

Initializes a new instance of the UserDirectory class.

Events

Name Description
MessageLogged

Occurs when a message is logged.

Properties

Name Description
AnonymousUser

Gets the anonymous user.

ApiKeyUser

Gets the system API key user.

AuthenticatedGroup

Gets the pseudo-group that contains all users except AnonymousUser.

EveryoneGroup

Gets the pseudo-group that contains all users.

Methods

Name Description
FindGroups(string searchTerm)
FindGroupsAsync(string searchTerm, System.Threading.CancellationToken cancellationToken)
FindPrincipals(string searchTerm)
FindPrincipalsAsync(string searchTerm, System.Threading.CancellationToken cancellationToken)
FindUsers(string searchTerm)
FindUsersAsync(string searchTerm, System.Threading.CancellationToken cancellationToken)
GetDescription

Returns a friendly description of this directory and its configuration.

GetGroupMembers(string groupName)
GetGroupMembersAsync(string groupName, System.Threading.CancellationToken cancellationToken)
Log(Inedo.Diagnostics.IMessage message)
TryGetAndValidateUser(string userName, string password)
TryGetAndValidateUserAsync(string userName, string password, System.Threading.CancellationToken cancellationToken)
TryGetGroup(string groupName)
TryGetGroupAsync(string groupName, System.Threading.CancellationToken cancellationToken)
TryGetUser(string userName)
TryGetUserAsync(string userName, System.Threading.CancellationToken cancellationToken)
TryParseLogonUser(string logonUser)