ProGet SDK Reference
Version:

BuiltInDirectory Class

The standard user directory stored in ProGet's database.

Inheritance Hierarchy

Syntax

public class BuiltInDirectory : UserDirectoryBase, 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.

SetPassword(string userName, string password)

Sets the password for the specified user.

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.