BuildMaster SDK Reference
Version:

BuiltInDirectory Class

The standard user directory stored in the database.

Inheritance Hierarchy

  • object
    • Inedo.Extensibility.UserDirectories.UserDirectory
      • Inedo.BuildMaster.Extensibility.UserDirectories.BuiltInDirectory

Syntax

public class BuiltInDirectory : Inedo.Extensibility.UserDirectories.UserDirectory, Inedo.Diagnostics.ILogger

Constructors

Name Description
BuiltInDirectory

Initializes a new instance of the BuiltInDirectory class.

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.

GetGroupMembers(string groupName)

Returns an enumeration of Inedo.Extensibility.UserDirectories.IUserDirectoryUser for the group with the specified name.

SetPassword(string userName, string password)

Sets the password for the specified user.

TryGetAndValidateUser(string userName, string password)

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

TryGetGroup(string groupName)

Returns a Inedo.Extensibility.UserDirectories.IUserDirectoryGroup for the group with the specified name.

TryGetPrincipal(string principalName)

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

TryGetUser(string userName)

Returns a Inedo.Extensibility.UserDirectories.IUserDirectoryUser for the user with the specified user name.