Skip navigation links

Oracle Communications Services Gatekeeper OAM Java API Reference
6.0

E55516-02


com.bea.wlcp.wlng.user.management
Interface ManagementUserGroupMBean


public interface ManagementUserGroupMBean

Method Summary
 void addUsertoGroup(String userName, String groupName)
          Adds a user to a group.
 void createUserGroup(String groupName, String description)
          Creates a user group.
 void deleteUserFromGroup(String userName, String groupName)
          Deletes a user from a group.
 void deleteUserGroup(String groupName)
          Deletes a user group.
 String[] listGroups(int offset, int size)
          Lists all groups.
 String[] listUsers(String groupName, int offset, int size)
          Lists users in a group.

 

Method Detail

addUsertoGroup

public void addUsertoGroup(String userName,
                           String groupName)
                    throws ManagementException
Adds a user to a group.

Scope: Cluster

Parameters:
userName - User name.
groupName - User group name.
Throws:
ManagementException.
ManagementException

createUserGroup

public void createUserGroup(String groupName,
                            String description)
                     throws ManagementException
Creates a user group.

Scope: Cluster

Parameters:
groupName - User group name.
description - User group description.
Throws:
ManagementException.
ManagementException

deleteUserFromGroup

public void deleteUserFromGroup(String userName,
                                String groupName)
                         throws ManagementException
Deletes a user from a group.

Scope: Cluster

Parameters:
userName - User name.
groupName - User group name.
Throws:
ManagementException.
ManagementException

deleteUserGroup

public void deleteUserGroup(String groupName)
                     throws ManagementException
Deletes a user group.

Scope: Cluster

Parameters:
groupName - User group name.
Throws:
ManagementException.
ManagementException

listGroups

public String[] listGroups(int offset,
                           int size)
                    throws ManagementException
Lists all groups.

Scope: Cluster

Parameters:
offset - Offset within the resultset. Must be >= 0.
size - Number of entries to return. 0 means no limit.
Returns:
Groups matching the criteria.
Throws:
ManagementException

listUsers

public String[] listUsers(String groupName,
                          int offset,
                          int size)
                   throws ManagementException
Lists users in a group.

Scope: Cluster

Parameters:
groupName - group name. * @param offset Must be >=0.
size - Number of entries to return. 0 means no limit.
Returns:
users in the group.
Throws:
ManagementException.
ManagementException

Skip navigation links

Oracle Communications Services Gatekeeper OAM Java API Reference
6.0

E55516-02


Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.