Datasnap.DSAuth.TDSCustomRoleItem
Delphi
TDSCustomRoleItem = class(TCollectionItem)
C++
class PASCALIMPLEMENTATION TDSCustomRoleItem : public System::Classes::TCollectionItem
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.
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.