public class DistinctContextMembershipQuery extends Query
Modifier and Type | Field and Description |
---|---|
static List<Column> |
ALL |
static Column |
CONTEXT_QUERIED
The column that represents the path of the context that was queried for membership information.
|
static Column |
EXPLICIT
The column that indicates whether the member is explicit.
|
static Column |
IMPLICIT
The column that represents whether the member is implicit.
|
static Column |
PRINCIPAL_NAME
The column that represents the name of the member.
|
static Column |
PRINCIPAL_TYPE
The column that represents the type of the member.
|
Constructor and Description |
---|
DistinctContextMembershipQuery(String contextPath)
The constructor with all of the required fields.
|
DistinctContextMembershipQuery(String contextPath,
ContextMembershipQuery.MembershipScope membershipScope)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getContextPath()
Gets the path of the context in which to query membership information.
|
ContextMembershipQuery.MembershipScope |
getMembershipScope()
Gets whether to include in the output the assigned members, defined groups.
|
void |
setMembershipScope(ContextMembershipQuery.MembershipScope membershipScope)
Sets whether to include assigned members, defined groups or all members at the specified context in the
membership query output.
|
constrain, getColumns, getConstraint, getOrder, includeColumnNames, isIncludeColumnNames, order, order, select, select, setColumns, setConstraint, setIncludeColumnNames, setOrder, toString
public static final Column CONTEXT_QUERIED
public static final Column PRINCIPAL_NAME
public static final Column PRINCIPAL_TYPE
public static final Column EXPLICIT
public static final Column IMPLICIT
public DistinctContextMembershipQuery(String contextPath)
includeGroupMembers is false.
contextPath
- The path of the context in which to query membership information.public DistinctContextMembershipQuery(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 String getContextPath()
public ContextMembershipQuery.MembershipScope getMembershipScope()
public void setMembershipScope(ContextMembershipQuery.MembershipScope membershipScope)
membershipScope
- Indicates whether to include assigned members, defined groups or all members at the
specified context in the membership query output.<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>