Skip to content

Commit

Permalink
Update crowd.rst
Browse files Browse the repository at this point in the history
- Add new functions' doc
  • Loading branch information
ChowRex authored Dec 9, 2023
1 parent 6b720ba commit 0406f59
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/crowd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ Manage users
# Get user
crowd.user(username)
# Get user's all group info
crowd.user_groups(username, kind='direct')
# Check whether the user is a member of the group
crowd.is_user_in_group(username, group, kind='direct')
Manage groups
-------------

Expand All @@ -29,3 +35,6 @@ Manage groups
# Add user to group
crowd.group_add_user(username, groupname)
# Get group's members
crowd.group_members(group, kind='direct', max_results=99999)

0 comments on commit 0406f59

Please sign in to comment.