Datasnap.DSAuth.TDSCustomAuthenticationManager.SessionUserRoles

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Datasnap.DSAuth.pas
Datasnap.DSAuth.hpp
Unit: Datasnap.DSAuth
Parent: TDSCustomAuthenticationManager

Delphi

function SessionUserRoles: TStrings; virtual;

C++

virtual System::Classes::TStrings* __fastcall SessionUserRoles();

Description

Returns the current user's UserRoles.

SessionUserRoles returns the current user's list of associated roles, as populated in the OnUserAuthenticate event.