Otter SDK Reference
Version:

UserDirectory Class

Base class for Otter user directories.

Inheritance Hierarchy

  • object
    • Inedo.Otter.Extensibility.UserDirectories.UserDirectory

Syntax

public class UserDirectory : Inedo.Diagnostics.ILogger

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.

Methods

Name Description
FindGroups(string searchTerm)

Searches the directory for groups related to the specified search term.

FindPrincipals(string searchTerm)

Searches the directory for users or groups related to the specified search term.

FindUsers(string searchTerm)

Searches the directory for users related to the specified search term.

GetDescription

Returns a friendly description of this directory and its configuration.

GetGroupMembers(string groupName)

Enumerates members of the specified group name.

GetUserDirectory(int userDirectoryId)

Gets an instance of the specified user directory

Log(Inedo.Diagnostics.MessageLevel logLevel, string message)

Writes the specified message to the corresponding log.

TryGetAndValidateUser(string userName, string password)

Returns a IUserDirectoryUser for the user with the specified user name and password.

TryGetGroup(string groupName)

Returns a IUserDirectoryGroup for the group with the specified name.

TryGetPrincipal(string principalName)

Returns a IUserDirectoryPrincipal for the user or group with the specified name.

TryGetUser(string userName)

Returns a IUserDirectoryUser for the user with the specified user name.

TryParseLogonUser(string logonUser)

Returns a IUserDirectoryUser for the user with the specified LOGON_USER string.