summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java')
-rw-r--r--base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java11
1 files changed, 11 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 60a1f70ea..c101187c4 100644
--- a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java
+++ b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java
@@ -205,6 +205,17 @@ public interface IUGSubsystem extends ISubsystem, IUsrGrp {
public void modifyGroup(IGroup group) throws EUsrGrpException;
/**
+ * Adds the user with the given id into the given group
+ *
+ * @param grp the given group
+ * @param userid the given user id
+ * @exception EUsrGrpException thrown when failed to add the user into
+ * the given group
+ */
+ public void addUserToGroup(IGroup grp, String userid)
+ throws EUsrGrpException;
+
+ /**
* Removes the user with the given id from the given group
*
* @param grp the given group