diff options
Diffstat (limited to 'base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java')
-rw-r--r-- | base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java index bbd051324..eb7f84ebf 100644 --- a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java +++ b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java @@ -125,6 +125,15 @@ public interface IUGSubsystem extends ISubsystem, IUsrGrp { public Enumeration<IGroup> findGroups(String filter) throws EUsrGrpException; /** + * Finds groups that contain the user. + * + * @param userDn the user DN + * @return a list of groups that contain the given user + * @throws EUsrGrpException + */ + public Enumeration<IGroup> findGroupsByUser(String userDn) throws EUsrGrpException; + + /** * Find a group for the given name * * @param name the given name |