User

A user is the primary actor in the Webservices.nl framework.  Every user belongs to an Account.

Summary
A user is the primary actor in the Webservices.nl framework.
Before making any requests for data a user needs to authenticate.
A session represents a valid authentication of a specific user.
A user is a member of one or more user Groups.
Users can be created by the account admin using Webview Interface or using the Accounting::userCreateV2 method.
Information available when viewing a user.

Authentication

Before making any requests for data a user needs to authenticate.  Authentication can either be direct or indirect.  For direct authentication a username and password must be supplied.  An indirect method of authentication is to provide a reactid token, which is a temporary session hash that is returned when direct authentication is used.  Indirect authentication is possible when using <SOAP/WSDL Interface> with SOAP headers.  The benefit of indirect authentication is that the need to send username and password for every method call is eliminated.  For information on authentication using a specific interface see the Interfaces submenu on the left.

It is also possible to further restrict access to users on the basis of IP or host masks, see Host Restrictions.

Session

A session represents a valid authentication of a specific user.  Whenever a user logs in using his username and password, a reactid is returned.  This 32 character string is the identifier of a new valid session for that user.  This reactid can be used instead of the username and password as a valid means of authentication in further service requests.  A session is ended when the user logs out, in which case the reactid becomes invalid.

Rights

A user is a member of one or more user Groups.  These Groups determine what the user is allowed to do.  All users are members of the Group::Users group.  Other groups include Group::Account users and Group::Account admins.

Creation

Users can be created by the account admin using Webview Interface or using the Accounting::userCreateV2 method.  In both cases the user has to be activated by agreeing to the conditions listed in the activation email.

Fields

User fields

Information available when viewing a user.  See also Accounting::UserV2

Primary fields

UserIDInternal ID.
UsernameUsername used in authentication.
PasswordPassword used in authentication (write-only).
EmailPrimary email address linked to this user, this is where the activation email is sent.
ActiveWhether this user is activated.

Company fields

NameIncase the user is used by a company, its name.
AddressIncase the user is used by a company, its billing address.

Contact fields

Contact nameName of the contact person of this user.
Contact emailEmail address of the contact person of this user.
TelephoneTelephone number where the contact person can be reached.
FaxFax number where the contact person can be reached.

Internal fields

Client CodeInternal client code used by Group::Account admins
CommentsInternal comments used by Group::Account admins
Groups give users specific rights.
Create a user, assign it to groups and send it an activation mail.
An account is a collection of Users.
Access to Users can be restricted to certain IP or host masks in order to increase security.
User may login, view his own profile.
User may view and edit his own user profile and view his own logs.
User may create, delete, edit and extensively edit all users in the same account, as well as move credits to and from users.
A UserV2 entry.