BuildMaster SDK Reference
Version:

FindPrincipals(string searchTerm) Method

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

Syntax

public virtual IEnumerable<Inedo.Extensibility.UserDirectories.IUserDirectoryPrincipal> FindPrincipals(string searchTerm)

Parameters

searchTerm
Type: string

The search term.

Returns

Sequence of principals which are related to the specified search term.