#include <UserProfile.h>
Inheritance diagram for UserProfile:
Public Methods | |
UserProfile () | |
bool | hasPermission (string name) const |
void | setPermission (string name, bool value) |
bool | hasPermissions (const UserProfile &user) const |
string | toXML () const |
DocumentError | fromXML (const string &str) |
DocumentError | fromXML (const string &str, NumID userid) |
NumID | getID () const |
|
Constructor. |
|
Read user profile from XML.
|
|
Read user profile from XML.
Implements AbstractDocument. |
|
Returns this user's ID. |
|
Check if this user has permission name.
|
|
Check if this user has all permissions of user.
|
|
Check if this user has permission name.
|
|
Returns an XML representation of the user profile. Implements AbstractDocument. |