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

public class DistinctContextMembershipQuery extends MembershipQuery
This class represents the criteria to query membership information.
Since:
2.3
See Also:
  • Field Details

    • IMPLICIT

      public static final Column 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

      public static final List<Column> ALL
  • Constructor Details

    • DistinctContextMembershipQuery

      public DistinctContextMembershipQuery(String contextPath)
      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

      public ContextMembershipQuery.MembershipScope 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

      public 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.
      Parameters:
      membershipScope - Indicates whether to include assigned members, defined groups or all members at the specified context in the membership query output.