@LimitedPrivate({"HDFS","MapReduce"})
@Evolving
public interface GetUserMappingsProtocol
| Modifier and Type | Field | Description |
|---|---|---|
static long |
versionID |
Version 1: Initial version.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
getGroupsForUser(java.lang.String user) |
Get the groups which are mapped to the given user.
|
static final long versionID
java.lang.String[] getGroupsForUser(java.lang.String user)
throws java.io.IOException
user - The user to get the groups for.java.io.IOException - raised on errors performing I/O.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.