BuildMaster SDK Reference
Version:

UserDirectoryBase Class

Base class for BuildMaster user directories.

Inheritance Hierarchy

  • object
    • Inedo.BuildMaster.Extensibility.UserDirectories.UserDirectoryBase

Syntax

public class UserDirectoryBase : Inedo.Diagnostics.ILogger

Constructors

Name Description
UserDirectoryBase

Initializes a new instance of the UserDirectoryBase 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.

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.