@InterfaceAudience.LimitedPrivate(value={"HDFS","MapReduce"})
@InterfaceStability.Evolving
public interface GetUserMappingsProtocol
extends org.apache.hadoop.ipc.VersionedProtocol
| Modifier and Type | Field and Description |
|---|---|
static long |
versionID
Version 1: Initial version.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getGroupsForUser(String user)
Get the groups which are mapped to the given user.
|
static final long versionID
String[] getGroupsForUser(String user) throws IOException
user - The user to get the groups for.IOExceptionCopyright © 2009 The Apache Software Foundation