public class ContextMembershipQuery extends MembershipQuery
Modifier and Type | Class and Description |
---|---|
static class |
ContextMembershipQuery.MembershipScope
The scope in which to query the membership.
|
Modifier and Type | Field and Description |
---|---|
static List<Column> |
ALL
The value that represents all columns in
ContextMembershipQuery . |
static Column |
GROUP_CONTEXT
The column that represents the context path in which the group member is defined.
|
static Column |
LEVEL
The column that represents the number of levels in which the member is nested as with groups of groups.
|
static Column |
LINEAGE
The column that represents the lineage of the location in which the member originated.
|
static Column |
PARENT_GROUP
The column that represents the name of the parent group, if it exists.
|
static Column |
PARENT_GROUP_CONTEXT
The column that represents the context path of the parent group, if it exists.
|
CONTEXT_QUERIED, EXPLICIT, PRINCIPAL_NAME, PRINCIPAL_TYPE
Constructor and Description |
---|
ContextMembershipQuery(String contextPath)
The constructor with all of the required fields.
|
ContextMembershipQuery(String contextPath,
ContextMembershipQuery.MembershipScope membershipScope)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ContextMembershipQuery.MembershipScope |
getMembershipScope()
Gets whether to include in the output the assigned members, defined groups, or all members at the specified
context.
|
void |
setMembershipScope(ContextMembershipQuery.MembershipScope membershipScope)
Sets whether to include in the output the assigned members, defined groups, or all members at the specified
context.
|
getContextPath
constrain, getColumns, getConstraint, getOrder, includeColumnNames, isIncludeColumnNames, order, order, select, select, setColumns, setConstraint, setIncludeColumnNames, setOrder, toString
public static final Column LEVEL
public static final Column LINEAGE
public static final Column GROUP_CONTEXT
public static final Column PARENT_GROUP
public static final Column PARENT_GROUP_CONTEXT
public ContextMembershipQuery(String contextPath)
contextPath
- The path of the context in which to query membership information.public ContextMembershipQuery(String contextPath, ContextMembershipQuery.MembershipScope membershipScope)
contextPath
- The path of the context in which to query membership information.membershipScope
- Indicates whether to include in the output the assigned members, defined groups, or all
members at the specified context.public ContextMembershipQuery.MembershipScope getMembershipScope()
public void setMembershipScope(ContextMembershipQuery.MembershipScope membershipScope)
membershipScope
- Indicates whether to include in the output the assigned members, defined groups, or all
members at the specified context.<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>