var searchIndex = {}; searchIndex["users"] = {"doc":"This is a library for getting information on Unix users and groups.","items":[[6,"uid_t","users","",null,null],[6,"gid_t","","",null,null],[3,"User","","Information about a particular user.",null,null],[12,"uid","","This user's ID",0,null],[12,"name","","This user's name",0,null],[12,"primary_group","","The ID of this user's primary group",0,null],[3,"Group","","Information about a particular group.",null,null],[12,"gid","","This group's ID",1,null],[12,"name","","This group's name",1,null],[12,"members","","Vector of the names of the users who belong to this group as a non-primary member",1,null],[3,"OSUsers","","A producer of user and group instances that caches every result.",null,null],[5,"get_user_by_uid","","Return a User object if one exists for the given user ID; otherwise, return None.",null,{"inputs":[{"name":"uid_t"}],"output":{"name":"option"}}],[5,"get_user_by_name","","Return a User object if one exists for the given username; otherwise, return None.",null,{"inputs":[{"name":"str"}],"output":{"name":"option"}}],[5,"get_group_by_gid","","Return a Group object if one exists for the given group ID; otherwise, return None.",null,{"inputs":[{"name":"gid_t"}],"output":{"name":"option"}}],[5,"get_group_by_name","","Return a Group object if one exists for the given groupname; otherwise, return None.",null,{"inputs":[{"name":"str"}],"output":{"name":"option"}}],[5,"get_current_uid","","Return the user ID for the user running the process.",null,{"inputs":[],"output":{"name":"uid_t"}}],[5,"get_current_username","","Return the username of the user running the process.",null,{"inputs":[],"output":{"name":"option"}}],[0,"mock","","Mockable users and groups.",null,null],[3,"MockUsers","users::mock","A mocking users object that you can add your own users and groups to.",null,null],[11,"with_current_uid","","Create a new, empty mock users object.",2,{"inputs":[{"name":"uid_t"}],"output":{"name":"mockusers"}}],[11,"add_user","","Add a user to the users table.",2,null],[11,"add_group","","Add a group to the groups table.",2,null],[11,"get_user_by_uid","","",2,null],[11,"get_user_by_name","","",2,null],[11,"get_group_by_gid","","",2,null],[11,"get_group_by_name","","",2,null],[11,"get_current_uid","","",2,null],[11,"get_current_username","","",2,null],[8,"Users","users","The trait for the `OSUsers` object.",null,null],[10,"get_user_by_uid","","Return a User object if one exists for the given user ID; otherwise, return None.",3,null],[10,"get_user_by_name","","Return a User object if one exists for the given username; otherwise, return None.",3,null],[10,"get_group_by_gid","","Return a Group object if one exists for the given group ID; otherwise, return None.",3,null],[10,"get_group_by_name","","Return a Group object if one exists for the given groupname; otherwise, return None.",3,null],[10,"get_current_uid","","Return the user ID for the user running the process.",3,null],[10,"get_current_username","","Return the username of the user running the process.",3,null],[11,"clone","","",0,null],[11,"clone","","",1,null],[11,"clone","","",4,null],[11,"get_user_by_uid","","",4,null],[11,"get_user_by_name","","",4,null],[11,"get_group_by_gid","","",4,null],[11,"get_group_by_name","","",4,null],[11,"get_current_uid","","",4,null],[11,"get_current_username","","Return the username of the user running the process.",4,null],[11,"empty_cache","","Create a new empty OS Users object.",4,{"inputs":[],"output":{"name":"osusers"}}]],"paths":[[3,"User"],[3,"Group"],[3,"MockUsers"],[8,"Users"],[3,"OSUsers"]]}; initSearch(searchIndex);