@@ -25,6 +25,8 @@ References
25
25
+ :class: `gitlab.v3.objects.UserManager `
26
26
+ :attr: `gitlab.Gitlab.users `
27
27
28
+ * GitLab API: https://docs.gitlab.com/ce/api/users.html
29
+
28
30
Examples
29
31
--------
30
32
@@ -82,6 +84,11 @@ References
82
84
+ :class: `gitlab.v4.objects.UserCustomAttributeManager `
83
85
+ :attr: `gitlab.v4.objects.User.customattributes `
84
86
87
+ * GitLab API: https://docs.gitlab.com/ce/api/custom_attributes.html
88
+
89
+ Examples
90
+ --------
91
+
85
92
List custom attributes for a user:
86
93
87
94
.. literalinclude :: users.py
@@ -118,6 +125,8 @@ References
118
125
+ :class: `gitlab.v4.objects.UserImpersonationTokenManager `
119
126
+ :attr: `gitlab.v4.objects.User.impersonationtokens `
120
127
128
+ * GitLab API: https://docs.gitlab.com/ce/api/users.html#get-all-impersonation-tokens-of-a-user
129
+
121
130
List impersonation tokens for a user:
122
131
123
132
.. literalinclude :: users.py
@@ -160,6 +169,8 @@ References
160
169
+ :class: `gitlab.v3.objects.CurrentUserManager `
161
170
+ :attr: `gitlab.Gitlab.user `
162
171
172
+ * GitLab API: https://docs.gitlab.com/ce/api/users.html
173
+
163
174
Examples
164
175
--------
165
176
@@ -187,6 +198,8 @@ are admin.
187
198
+ :class: `gitlab.v4.objects.UserGPGKeyManager `
188
199
+ :attr: `gitlab.v4.objects.User.gpgkeys `
189
200
201
+ * GitLab API: https://docs.gitlab.com/ce/api/users.html#list-all-gpg-keys
202
+
190
203
Exemples
191
204
--------
192
205
@@ -243,6 +256,8 @@ are admin.
243
256
+ :attr: `gitlab.v3.objects.User.keys `
244
257
+ :attr: `gitlab.Gitlab.user_keys `
245
258
259
+ * GitLab API: https://docs.gitlab.com/ce/api/users.html#list-ssh-keys
260
+
246
261
Exemples
247
262
--------
248
263
@@ -299,6 +314,8 @@ are admin.
299
314
+ :attr: `gitlab.v3.objects.User.emails `
300
315
+ :attr: `gitlab.Gitlab.user_emails `
301
316
317
+ * GitLab API: https://docs.gitlab.com/ce/api/users.html#list-emails
318
+
302
319
Exemples
303
320
--------
304
321
@@ -341,6 +358,8 @@ References
341
358
+ :class: `gitlab.v4.objects.UserActivitiesManager `
342
359
+ :attr: `gitlab.Gitlab.user_activities `
343
360
361
+ * GitLab API: https://docs.gitlab.com/ce/api/users.html#get-user-activities-admin-only
362
+
344
363
Examples
345
364
--------
346
365
0 commit comments