add_generateRole(function(sender, e)) generateRole.add(function(sender, e)) remove_generateRole(function(sender, e)) generateRole.remove(function(sender, e))
GenerateRole is trigged from IsUserInRole if the system could not determine the role name automatically from the operation type. The application can subscribe to this event return custom role names.
Parameter | Type | Description |
---|---|---|
sender | 'var' | The source of the event. |
e | AnnOperationInfoEventArgs | The event data. |