Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion umapi_client/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class UsersQuery(QueryMultiple):
Query for users meeting (optional) criteria
"""

def __init__(self, connection, in_group="", in_domain="", identity_type=""):
def __init__(self, connection, in_group="", in_domain="", identity_type="", direct_only=True):
"""
Create a query for all users, or for those in a group or domain or both
:param connection: Connection to run the query against
Expand All @@ -338,6 +338,7 @@ def __init__(self, connection, in_group="", in_domain="", identity_type=""):
params = {}
if in_domain: params["domain"] = in_domain
if identity_type: params["type"] = identity_type
params["directOnly"] = direct_only
QueryMultiple.__init__(self, connection=connection, object_type="user", url_params=groups, query_params=params)


Expand Down