From RAD Studio API Documentation
Jump to: navigation, search



TDSCustomRoleItem = class(TCollectionItem)


class PASCALIMPLEMENTATION TDSCustomRoleItem : public System::Classes::TCollectionItem


Type Visibility Source Unit Parent
class public
Datasnap.DSAuth Datasnap.DSAuth


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.

See Also