JAFS API v2

Uses of Class
org.openafs.jafs.User

Uses of User in org.openafs.jafs
 

Methods in org.openafs.jafs that return User
 User[] Server.getAdmins()
          Retrieves an array containing all of the admin User objects associated with this Server, each of which are an abstract representation of an actual bos administrator of the AFS server.
 User[] Group.getMembers()
          Returns an array of the User object members of this group.
 User Cell.getUser(String name)
          Retrieves the User object (which is an abstract representation of an actual AFS user) designated by name.
 User[] Cell.getUsers()
          Retrieves an array containing all of the User objects associated with this Cell, each of which are an abstract representation of an actual user of the AFS cell.
 User[] Cell.getUsers(int startIndex, int length)
          Returns an array containing a subset of the User objects associated with this Cell, each of which is an abstract representation of an actual AFS user of the AFS cell.
 

Methods in org.openafs.jafs with parameters of type User
 void Server.addAdmin(User admin)
          Add a bos admin to the UserList file of this server, in order to given the AFS user represented by admin full bos administrative privileges on this server.
 void Server.removeAdmin(User admin)
          Remove a bos admin from the UserList file of this server, in order to take away from the AFS user represented by admin bos administrative privileges on this machine.
protected static int Server.getBosAdminsNext(int cellHandle, int iterationId, User theUser)
          Returns the next bos admin of the server.
 void Group.addMember(User theUser)
          Add the specified member to this group.
 void Group.removeMember(User theUser)
          Remove the specified member from this group.
 void Group.changeOwner(User theOwner)
          Change the owner of this group.
protected static int Group.getGroupMembersNext(int cellHandle, int iterationId, User theUser)
          Fills the next user object belonging to that group.
 int User.compareTo(User user)
          Compares two User objects respective to their names and does not factor any other attribute.
 boolean User.equals(User otherUser)
          Tests whether two User objects are equal, based on their names.
protected static void User.getUserInfo(int cellHandle, String name, User user)
          Fills in the information fields of the provided User.
protected static void User.setUserInfo(int cellHandle, String name, User theUser)
          Sets the information values of this AFS user to be the parameter values.
protected static int Cell.getKasUsersNext(int cellHandle, int iterationId, User theUser)
          Fills the next kas user object of the cell.
protected static int Cell.getPtsUsersNext(int cellHandle, int iterationId, User theUser)
          Fills the next pts user object of the cell.
protected static int Cell.getPtsOnlyUsersNext(int cellHandle, int iterationId, User theUser)
          Fills the next pts user (who does not have a kas entry) object of the cell.
 


JAFS API v2