Lines Matching defs:username
142 "Add a user named ``username``.\n\n"
143 ":param username: name of the user\n\n"
167 char *username = NULL;
169 const char * const kwlist[] = { "username", "uid", "gid", "gecos",
181 &username,
217 tctx->octx->name = username;
304 "Remove the user named ``username``.\n\n"
305 ":param username: Name of user being removed\n"
316 char *username = NULL;
321 const char * const kwlist[] = { "username", "remove", "force", NULL };
326 &username,
340 tctx->octx->name = username;
409 ":param username: Name of user being modified\n\n"
433 char *username = NULL;
435 const char * const kwlist[] = { "username", "uid", "gid", "lock",
444 &username,
488 tctx->octx->name = username;
756 ":param username: name of user to get list for\n");
760 char *username = NULL;
769 if(!PyArg_ParseTuple(args, discard_const_p(char, "s"), &username)) {
773 pw = getpwnam(username);
785 ret = getgrouplist(username, pw->pw_gid, groups, &ngroups);