User¶
-
class
baboossh.
User
(name)[source]¶ A username to authenticate with on servers.
-
name
¶ the username
- Type
str
-
id
¶ the User’s id
- Type
int
-
scope
¶ whether the User is in the scope or not
- Type
bool
Methods
__init__
(name)Initialize self.
delete
()Delete a User from the
Workspace
find_all
([scope, found])Find all Users corresponding to criteria
find_one
([user_id, name])Find a user matching the criteria
get_id
(name)save
()Save the user in database
-