Class DistinctContextMembershipQuery
java.lang.Object
com.sas.lsaf.query.Query
com.sas.lsaf.query.security.membership.MembershipQuery
com.sas.lsaf.query.security.membership.DistinctContextMembershipQuery
- All Implemented Interfaces:
Serializable
This class represents the criteria to query membership information.
- Since:
- 2.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ColumnThe column that represents whether the member is implicit.Fields inherited from class com.sas.lsaf.query.security.membership.MembershipQuery
CONTEXT_QUERIED, EXPLICIT, PRINCIPAL_NAME, PRINCIPAL_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionDistinctContextMembershipQuery(String contextPath) The constructor with all of the required fields.DistinctContextMembershipQuery(String contextPath, ContextMembershipQuery.MembershipScope membershipScope) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets whether to include in the output the assigned members, defined groups.voidsetMembershipScope(ContextMembershipQuery.MembershipScope membershipScope) Sets whether to include assigned members, defined groups or all members at the specified context in the membership query output.Methods inherited from class com.sas.lsaf.query.security.membership.MembershipQuery
getContextPathMethods inherited from class com.sas.lsaf.query.Query
constrain, getColumns, getConstraint, getOrder, includeColumnNames, isIncludeColumnNames, order, order, select, select, setColumns, setConstraint, setIncludeColumnNames, setOrder, toString
-
Field Details
-
IMPLICIT
The column that represents whether the member is implicit. A member is implicit when they are a member only because they are part of a group. -
ALL
-
-
Constructor Details
-
DistinctContextMembershipQuery
The constructor with all of the required fields.- Parameters:
contextPath- The path of the context in which to query membership information.
-
DistinctContextMembershipQuery
public DistinctContextMembershipQuery(String contextPath, ContextMembershipQuery.MembershipScope membershipScope) Constructor.- Parameters:
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.
-
-
Method Details
-
getMembershipScope
Gets whether to include in the output the assigned members, defined groups. or all members at the specified context.- Returns:
- Indicates whether to include in the output the assigned members, defined groups. or all members at the specified context.
-
setMembershipScope
Sets whether to include assigned members, defined groups or all members at the specified context in the membership query output.- Parameters:
membershipScope- Indicates whether to include assigned members, defined groups or all members at the specified context in the membership query output.
-