#include <user.h>
Public Methods | |
| User (Pointer< Bank > b, Pointer< Medium > m, const string &uid, int version, const string &userName, bool knowsSupportedUPDJobs) | |
| User (const User &cu) | |
| ~User () | |
Relation to other objects | |
| Pointer< Bank > | bank () const |
| Pointer< Medium > | medium () const |
| const list< Pointer< Customer > > & | customers () const |
| Pointer< Customer > | findCustomer (const string &i) const |
| void | addCustomer (Pointer< Customer > cust) |
User identification | |
| const string & | userId () const |
User information | |
| int | version () const |
| void | setVersion (int v) |
| const string & | userName () const |
| void | setUserName (const string &n) |
| bool | knowsSupportedJobs () |
| Tells you if you can rely on the result of OutboxJobXXX::isSupported(). | |
| void | setKnowsSupportedJobs (bool knowsIt) |
This class represents a user of HBCI at a bank.
A user is the owner of exactly one security medium. A user is identified by its userId.
But to access a HBCI account, a user takes on a given role which is represented by Customer (see there).
|
||||||||||||||||||||||||||||
|
Constructor. Creates a new user. Do not use this from an application directly; instead, use HBCIAPI::userFactory.
|
|
|
Copy Constructor.
|
|
|
Default Destructor. |
|
|
Adds a customer to the list of customers that belong to this * user. Throws an error if this customer already exists.
|
|
|
Returns a pointer to the bank that this user belongs to. |
|
|
Returns a reference to the list of customers. Each customer is a "role" that this user may take during talking to his bank. |
|
|
Searches for the given customer. No wildcards or joker allowed.
|
|
|
Tells you if you can rely on the result of OutboxJobXXX::isSupported().
If this method returns |
|
|
Medium that this user owns. Returns a pointer to the secure medium that this user uses to authenticate him/herself. |
|
|
|
|
|
Set the clear-text name of this user. This is not set by the bank; instead, this can be set by the application to any arbitrary string that is considered to be helpful in identifiying this user.
|
|
|
Set the UPD version (User Parameter Data). This value should only be set through the related HBCI::Job.
|
|
|
The user ID that identifies this user to his bank. Usually this string is assigned to the user by the bank. |
|
|
Returns the clear-text name of this user. This is not set by the bank; instead, this can be set by the application to any arbitrary string that is considered to be helpful in identifiying this user. |
|
|
Returns the UPD version. The UPD (User Parameter Data, "UserParameterDaten") version number is incremented by the bank each time it sends an updated version of the UPD. |
1.2.17