org.apache.hadoop.security
Interface UserGroupInformation

All Superinterfaces:
Writable
All Known Implementing Classes:
UnixUserGroupInformation

public interface UserGroupInformation
extends Writable

A Writable interface for storing user and groups information.


Field Summary
static org.apache.commons.logging.Log LOG
           
 
Method Summary
 String[] getGroupNames()
          Get the name of the groups that the user belong to
 String getUserName()
          Get username
 
Methods inherited from interface org.apache.hadoop.io.Writable
readFields, write
 

Field Detail

LOG

static final org.apache.commons.logging.Log LOG
Method Detail

getUserName

String getUserName()
Get username

Returns:
the user's name

getGroupNames

String[] getGroupNames()
Get the name of the groups that the user belong to

Returns:
an array of group names


Copyright © 2006 The Apache Software Foundation