class xqlUser
|
holds the XQL-users. More... |
|
|
Public Methods
Private Methods
Private Members
holds the XQL-users. Provides functions for the management of XQL users.
xqlUser (xqlOdbc * pConnection)
| xqlUser |
char * className ()
| className |
[const]
returns the classname of this type
Reimplemented from xqlObject.
void chPasswd (const char * pPasswd)
| chPasswd |
changes the password of the user. The user object has
to be authorized to perform this procedure.
void authByPasswd (const char * pPasswd)
| authByPasswd |
tries to authorize a user by password.
If the user is authorized, the user object
becomes valid
void setUsername (const char * pName)
| setUsername |
sets the username. Attention! it is possible
to change the username for a given user id!.
void authBySuperUser (const xqlUser * pUser)
| authBySuperUser |
xqlUserId getIdByName (const char * pName)
| getIdByName |
get the User id for a given name, returns XQL_NO_USER
if not found.
bool isAuthorized ()
| isAuthorized |
returns the authorization status of this user object.
bool loadInstance (const int pInstId)
| loadInstance |
Loads the user given by Userid as pInstId into the current
user object.
Reimplemented from xqlObject.
bool createInstance ()
| createInstance |
Reimplemented from xqlObject.
bool saveInstance ()
| saveInstance |
saves the current user, i. e. name and password.
Reimplemented from xqlObject.
void createUser (const char * pName, const char * pPasswd)
| createUser |
creates a new user using name and password
returns the userid of this User.
void setAuthorized (bool pAuthValue)
| setAuthorized |
[private]
char * xqlPwCrypt (const char *)
| xqlPwCrypt |
[private]
[private]
[private]
bool mIsAuthorized
| mIsAuthorized |
[private]
- Author: Raoul Markus
- Generated: markus on hobbes on Fri Mar 29 16:15:24 2002, using kdoc 2.0a53.