Lines Matching refs:user
158 " routine can be used in a suid/sgid environment to test if the invoking user\n"
3200 "Return the current process\'s effective user id.");
3263 "getgrouplist($module, user, group, /)\n"
3266 "Returns a list of groups to which a user belongs.\n"
3268 " user\n"
3271 " base group id of the user");
3277 os_getgrouplist_impl(PyObject *module, const char *user, int basegid);
3283 const char *user;
3294 user = PyUnicode_AsUTF8AndSize(args[0], &user_length);
3295 if (user == NULL) {
3298 if (strlen(user) != (size_t)user_length) {
3306 return_value = os_getgrouplist_impl(module, user, basegid);
3317 "getgrouplist($module, user, group, /)\n"
3320 "Returns a list of groups to which a user belongs.\n"
3322 " user\n"
3325 " base group id of the user");
3331 os_getgrouplist_impl(PyObject *module, const char *user, gid_t basegid);
3337 const char *user;
3348 user = PyUnicode_AsUTF8AndSize(args[0], &user_length);
3349 if (user == NULL) {
3352 if (strlen(user) != (size_t)user_length) {
3359 return_value = os_getgrouplist_impl(module, user, basegid);
3611 "Return the current process\'s user id.");
3731 "Set the current process\'s user id.");
3762 "Set the current process\'s effective user id.");
3824 "Set the current process\'s real and effective user ids.");
7405 "Set the current process\'s real, effective, and saved user ids.");
7489 "Return a tuple of the current process\'s real, effective, and saved user ids.");