Click or drag to resize

RepositoryGetGroup Method (String)

Get the record for an existing group from the repository.

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public Group GetGroup(
	string group
)

Parameters

group
Type: SystemString
Group name

Return Value

Type: Group
The Group object if new group was found, null if creation failed
Examples
To get the group 'everyone':
string targetGroup = "everyone";
IList<Group> group = _repository.getGroup(targetGroup);
See Also