Home
About
Testimonials
Demos
Download
Documentation
Forum
Development
Class Finder
Tutorials
Class Docs
API Manual
Wiki
Namespace:
System.Security
Inheritance:
TComponent
»
TUser
»
TDbUser
Properties
|
Events
|
Methods
|
Derived classes
|
All classes
Properties
Name
Type
Description
R
DbConnection
TDbConnection
Returns a database connection that may be used to retrieve data from database.
IsGuest
boolean
if the user is a guest, defaults to true. (inherited from
TUser
)
R
Manager
IUserManager
user manager. (inherited from
TUser
)
Name
string
username, defaults to empty string. (inherited from
TUser
)
Roles
array
list of roles that the user is of. (inherited from
TUser
)
StateChanged
boolean
whether user session state is changed (i. (inherited from
TUser
)
Events
Methods
Name
Description
addParsedObject
Processes an object that is created during parsing template. (inherited from
TComponent
)
attachEventHandler
Attaches an event handler to an event. (inherited from
TComponent
)
canGetProperty
Determines whether a property can be read. (inherited from
TComponent
)
canSetProperty
Determines whether a property can be set. (inherited from
TComponent
)
createUser
Creates a new user instance given the username.
createUserFromCookie
Creates a new user instance given the cookie containing auth data.
createdOnTemplate
This method is invoked after the component is instantiated by a template. (inherited from
TComponent
)
detachEventHandler
Detaches an existing event handler. (inherited from
TComponent
)
evaluateExpression
Evaluates a PHP expression in the context of this control. (inherited from
TComponent
)
evaluateStatements
Evaluates a list of PHP statements. (inherited from
TComponent
)
getEventHandlers
Returns the list of attached event handlers for an event. (inherited from
TComponent
)
P
getState
Returns the value of a variable that is stored in user session. (inherited from
TUser
)
getSubProperty
Evaluates a property path. (inherited from
TComponent
)
hasEvent
Determines whether an event is defined. (inherited from
TComponent
)
hasEventHandler
whether an event has been attached one or several handlers. (inherited from
TComponent
)
hasProperty
Determines whether a property is defined. (inherited from
TComponent
)
isInRole
whether the user is of this role. (inherited from
TUser
)
loadFromString
the user object. (inherited from
TUser
)
raiseEvent
Raises an event. (inherited from
TComponent
)
saveToString
user data that is serialized and will be stored in session. (inherited from
TUser
)
saveUserToCookie
Saves necessary auth data into a cookie.
P
setState
Stores a variable in user session. (inherited from
TUser
)
setSubProperty
Sets a value to a property path. (inherited from
TComponent
)
validateUser
Validates if username and password are correct entries.
Derived classes