BdsApi 3.1.4
This is the Blacknest BDS API.
|
This holds information on a user. More...
#include <BdsD.h>
Public Member Functions | |
User (BUInt32 id=0, BString user=BString(), BString password=BString(), BString name=BString(), BString email=BString(), BString telephone=BString(), BString address=BString(), BInt32 enabled=0, BList< BString > groups=BList< BString >()) | |
BString | getType () |
BError | setMembers (BDictString &members) |
BError | setMember (BString name, BString value) |
BError | getMembers (BDictString &members) |
BError | getMember (BString name, BString &value) |
![]() | |
BObj () | |
virtual | ~BObj () |
virtual const char * | getType () const |
virtual const BObjMember * | getMembers () const |
virtual BError | getMembers (BDictString &members) |
virtual BError | getMember (BString name, BString &value) |
virtual BError | setMembers (BDictString &members) |
virtual BError | setMember (BString name, BString value) |
virtual void | membersPrint () const |
virtual BString | getDebugString () |
Public Attributes | |
BUInt32 | id |
The unique user ID. More... | |
BString | user |
The User ID. More... | |
BString | password |
The User's password. More... | |
BString | name |
The User's full name. More... | |
BString | |
The User's email Address. More... | |
BString | telephone |
The User's telephone number. More... | |
BString | address |
The User's postal address. More... | |
BInt32 | enabled |
Whether the users account is enabled. More... | |
BList< BString > | groups |
The security groups the user belongs to. More... | |
This holds information on a user.
All information on a BDS user is stored along with the security groups they belong to.
Bds::User::User | ( | BUInt32 | id = 0 , |
BString | user = BString() , |
||
BString | password = BString() , |
||
BString | name = BString() , |
||
BString | email = BString() , |
||
BString | telephone = BString() , |
||
BString | address = BString() , |
||
BInt32 | enabled = 0 , |
||
BList< BString > | groups = BList<BString >() |
||
) |
BString Bds::User::getType | ( | ) |
|
virtual |
Reimplemented from BObj.
|
virtual |
Reimplemented from BObj.
BUInt32 Bds::User::id |
The unique user ID.
BInt32 Bds::User::enabled |
Whether the users account is enabled.