Retrieves the list of roles for the current user. This function returns only ColdFusion roles, not roles set for the servlet API.
The list of roles for the current user.
GetUserRoles() |
cflogin, cfloginuser, cflogout, GetAuthUser, IsUserInAnyRole, IsUserInRole, IsUserLoggedIn, Securing Applications in the Developing ColdFusion Applications
ColdFusion 8: Added this function.
<cfloginuser name = "#cflogin.name#" password = "#cflogin.password#"
|
From ColdFusion 11 onwards, this function is not applicable when a user is logged in using Admin API.
Sign in to your account