Difference between revisions of "RoleExtensionDocumentation class"
Line 17: | Line 17: | ||
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}} | ||
}} | }} | ||
− | + | [[Category:RoleExtensionDocumentation]] | |
[[Category:Roles]] | [[Category:Roles]] |
Latest revision as of 10:29, 8 July 2020
RoleExtensionDocumentation
Documents how a given role extension can be called
Parent class
Inherits from object
Methods
- (From object) string ToString() - The string representation of the object.
Properties
- LocalizedString Description { get; } - A short description of the functionality for an admin user to better understand what it actually does.
- bool IncludeChildrenInPath { get; set; } - If true and LimitToPath is set, then LimitToPath applies to any role with the path as prefix. Default is false.
- string LimitToPath { get; set; } - If set, only roles in a given path are applicable for this role extensions. Default is Empty.
- LocalizedString Name { get; } - The name of the functionality for an admin user to see.
- (From object) string ObjectTypeName { get; } - The name of the type of object.
- Array of RoleExtensionParameterDocumentation Parameters { get; set; } - Documentation for possible parameters.
- bool PathIsRelative { get; set; } - If true, the path is a postfix on the Top level parent that the role extension is defined on. Default is true.
- int PermissionRequired { get; set; } - Minimum access required on a user/role to be able to do it's function: 2 = needs read access, 4 = write access, 6 = full access. Default is 4.
- Array of RoleExtensionQueryValueDocumentation Result { get; set; } - Documentation for return value of calling the script.
- bool ShowResultInGrid { get; set; } - If true, values returned by this script in query mode is suitable to be shown in the user/role grid, no parameters are allowed if true. Default is true.
- (From object) TypeInformation TypeInformation { get; } - Get information about this class.