summaryrefslogtreecommitdiff
path: root/docs/gl_objects/users.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gl_objects/users.rst')
-rw-r--r--docs/gl_objects/users.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/gl_objects/users.rst b/docs/gl_objects/users.rst
index 9f2d42c..dd6db6a 100644
--- a/docs/gl_objects/users.rst
+++ b/docs/gl_objects/users.rst
@@ -67,6 +67,11 @@ Activate/Deactivate a user::
user.activate()
user.deactivate()
+Follow/Unfollow a user::
+
+ user.follow()
+ user.unfollow()
+
Set the avatar image for a user::
# the avatar image can be passed as data (content of the file) or as a file
@@ -84,6 +89,15 @@ Delete an external identity by provider name::
user.identityproviders.delete('oauth2_generic')
+Get the followers of a user
+
+ user.followers_users.list()
+
+Get the followings of a user
+
+ user.following_users.list()
+
+
User custom attributes
======================