UNB Components Code Reference

user.class.php contents

This file contains the UnbUser class.

Classes

UnbUser
UnbUserKey
UnbUserVcardVisibility

Constants

UnbUserVcardVisibility::Public_ 0

Visible for all users

Line 17
UnbUserVcardVisibility::Internal 1

Visible only to registered and logged in users

Line 19
UnbUserVcardVisibility::Confidential 2

Visible only to trusted users

Line 21
UnbUserVcardVisibility::Private_ 3

Visible only to the owner user

Line 23
UnbUserKey::System 1

The system key for the system itself

Line 31
UnbUserKey::Administrator 2

The system key for administrative users

Line 33
UnbUserKey::Moderator 3

The system key for moderator users

Line 35
UnbUserKey::Trusted 4

The system key for trusted users

Line 37
UnbUserKey::DefaultUser 5

The system key for a virtual default user, used for default user configuration settings. This key must not be assigned to any user as additional key.

Line 40
UnbUser::KeyLength 5

Length of new user ID numbers (decimal digits). This must be in the range of 2...9. The key length is used to generate new user IDs. Any length of user IDs is compatible, so the key length can be changed at any time. When you're running out of keys, increasing the key length is recommended. Longer keys have no worse performance than shorter keys, they just... "look longer".

Line 55
UnbUser::RequireSecurePassword false

Determines whether a secure password is required for users.

Line 58

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.