Difference between revisions of "RoleExtensionRoleParameter class"
(Created page with "{{CGscriptClass_Template |Name=<nowiki>RoleExtensionRoleParameter</nowiki> |Description=<nowiki>Parameters for executing a role extension</nowiki> |Methods= {{CGscriptMethods_...") |
(Tag: visualeditor) |
||
Line 12: | Line 12: | ||
{{CGscriptProperties_Template|ReturnType=Array of Array|Name=<nowiki>WriteableValues</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Update values per user/role. Must match the ordering of the return documentation for the writeable values. May be empty for querying, or each element may be empty if not updating.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=Array of Array|Name=<nowiki>WriteableValues</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Update values per user/role. Must match the ordering of the return documentation for the writeable values. May be empty for querying, or each element may be empty if not updating.</nowiki>}} | ||
}} | }} | ||
+ | [[Category:Roles]] |
Revision as of 07:47, 19 December 2019
RoleExtensionRoleParameter
Parameters for executing a role extension
Methods
- RoleExtensionReturn Execute() - Execute call to the role extesion. If called inside a role extension the base/parent version is called if any. May return Empty.
- string ToString() - The string representation of the object.
Properties
- string ObjectTypeName { get; } - The name of the type of object.
- array Parameters { get; set; } - Parameters if any. Must match the ordering of the documentation.
- Array of number RoleResourceIds { get; set; } - List of roles to change/query.
- TypeInformation TypeInformation { get; } - Get information about this class.
- Array of Array WriteableValues { get; set; } - Update values per user/role. Must match the ordering of the return documentation for the writeable values. May be empty for querying, or each element may be empty if not updating.