API:Datasnap.DSAuth.TDSRoleItem
![TDSRoleItem](/images/Libraries/Rio/e/9/91/Datasnap.DSAuth.TDSRoleItem.png)
Delphi
TDSRoleItem = class(TDSCustomRoleItem)
C++
class PASCALIMPLEMENTATION TDSRoleItem : public TDSCustomRoleItem
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Datasnap.DSAuth.pas Datasnap.DSAuth.hpp |
Datasnap.DSAuth | Datasnap.DSAuth |
Description
Role item that belongs to a collection of roles and contains a list of authorized roles, a list of denied roles, a set of entities where the role applies, and a set of entities to exclude from the set of entities where the role applies.
Datasnap.DSAuth.TDSRoleItem inherits from Datasnap.DSAuth.TDSCustomRoleItem. All content below this line refers to Datasnap.DSAuth.TDSCustomRoleItem.
Role item that belongs to a collection of roles and contains a list of authorized roles, a list of denied roles, a set of entities where the role applies, and a set of entities to exclude from the set of entities where the role applies.
Entities define API members on the server. Each entity must be any of the following:
- A class name. If you specify a class name, the role applies to any method of the class.
- A method name. If you specify a method name, the role applies to all methods with the specified name, on any class.
- A method name qualified with a class name (
ClassName.MethodName
). If you specify a qualified method, the role applies to the specified method of the specified class only.