public interface IGroupsDelegator
Modifier and Type | Method and Description |
---|---|
java.util.List<IUserGroup> |
getUserGroups(java.lang.String userOrGroupName,
GetUserGroupsOptions opts)
Get a list of Perforce user groups from the server.
|
java.util.List<IUserGroup> getUserGroups(java.lang.String userOrGroupName, GetUserGroupsOptions opts) throws P4JavaException
Note that the Perforce server considers it an error to have both indirect and displayValues parameters set true; this will cause the server to throw a RequestException with an appropriate usage message.
userOrGroupName
- if non-null, restrict the list to the specified group or
username.opts
- GetUserGroupsOptions object describing optional parameters; if
null, no options are setP4JavaException
- if any error occurs in the processing of this method.