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
|
LOG
static final org.apache.commons.logging.Log LOG
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