Description
Retrieves the list of roles for the current user. This function returns only ColdFusion roles, not roles set for the servlet API.
Returns
The list of roles for the current user.
Category
Function syntax
GetUserRoles() |
See also
cflogin, cfloginuser, cflogout, GetAuthUser, IsUserInAnyRole, IsUserInRole, IsUserLoggedIn, Securing Applications in the Developing ColdFusion Applications
History
ColdFusion 8: Added this function.
Example
<cfloginuser name = "#cflogin.name#" password = "#cflogin.password#"
|