RepositoryGetGroup Method (String)
|
Get the record for an existing group from the repository.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax public Group GetGroup(
string group
)
Public Function GetGroup (
group As String
) As Group
public:
Group^ GetGroup(
String^ group
)
member GetGroup :
group : string -> Group
Parameters
- group
- Type: SystemString
Group name
Return Value
Type:
GroupThe 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