BuildMaster SDK Reference
Version:

TryGetGroup(string groupName) Method

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

Syntax

public virtual Inedo.Extensibility.UserDirectories.IUserDirectoryGroup TryGetGroup(string groupName)

Parameters

groupName
Type: string

The name of the group to look up.

Returns

A corresponding Inedo.Extensibility.UserDirectories.IUserDirectoryGroup for the specified group, if the group was found in the directory; otherwise null (Nothing in Visual Basic).

Exceptions

System.ArgumentNullException

groupName is null (Nothing in Visual Basic) or empty.