com.wm.app.b2b.server
Class User

java.lang.Object
  extended by com.wm.app.b2b.server.UGClass
      extended by com.wm.app.b2b.server.User
All Implemented Interfaces:
Codable

public class User
extends UGClass

Represents a user on the webMethods Integration Server. Most functionality is inherited from UGClass. Users keep a list of Groups to which they belong.

See Also:
UGClass

Field Summary
 
Fields inherited from class com.wm.app.b2b.server.UGClass
LDAP, NIS, OTHER, WM
 
Constructor Summary
User()
          Creates a new user.
User(java.lang.String name)
          Creates a new user with the specified name.
 
Method Summary
 Group add(Group group)
          Adds this user to the specified group.
 boolean isAdministrator()
          Does this user have administrative privileges?
 
Methods inherited from class com.wm.app.b2b.server.UGClass
add, addCredential, check, checkPassword, getCredentials, getData, getName, getSource, hasMember, hasMember, membership, membershipNames, remove, setCredentials, setData, setSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.wm.util.coder.Codable
getValue, getValueKeys, setValue
 

Constructor Detail

User

public User()
Creates a new user.


User

public User(java.lang.String name)
Creates a new user with the specified name.

Parameters:
name - New name for the user
Method Detail

add

public Group add(Group group)
Adds this user to the specified group.

Parameters:
group - The group.
Returns:
The same group.

isAdministrator

public boolean isAdministrator()
Does this user have administrative privileges?

Returns:
boolean (whether or not this user is a member of the admin group.)