GetUserRoles()
Retrieves the list of roles for the current user.
GetUserRoles( );
Returns: String
This function does not take any arguments.
Examples
<cflogin>
<cfloginuser name = "test" password = "password" roles = "user,admin,editor">
</cflogin>
<cfdump var="#getUserRoles()#" />
See also
- GetAuthUser()
- IsUserInAnyRole()
- IsUserInRole()
- IsUserLoggedIn()
- <cflogin>
- <cfloginuser>
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)