| | |
- exceptions.Exception(exceptions.BaseException)
-
- InputError
- services.auth.AuthorizationService(services.Service)
-
- SMAuthService
- smauth.PlayerAccess(__builtin__.object)
-
- PlayerAccess
class PlayerAccess(smauth.PlayerAccess) |
| | |
- Method resolution order:
- PlayerAccess
- smauth.PlayerAccess
- __builtin__.object
Methods defined here:
- __init__(self, steamid)
Methods inherited from smauth.PlayerAccess:
- CanTarget(self, userid)
- Returns True if the user can target the specified userid with an admin command.
Returns False if the user does not exist or if the userid can not be targeted by the user.
- GetImmunity(self)
- Returns the immunity, False otherwise
- HasFlag(self, adminflag)
- Returns True if the user has the specified flag.
Returns False if the user does not exist or if the flag can not be found.
- InGroup(self, group)
- Returns True if the user is in the specified group.
Returns False if the user does not exist or if the group can not be found.
- IsAdmin(self)
- Returns True if the user has the basic admin (b) flag, False otherwise.
Returns False if the user does not exist or if the flag can not be found.
- IsUser(self)
- Returns True if the user with the specified auth is stored in admin files, False otherwise.
Data descriptors inherited from smauth.PlayerAccess:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes inherited from smauth.PlayerAccess:
- authinfo = None
- authtype = None
- user = None
- userid = None
|
|