Forum Discussion
LeeB
3 years agoContributor II
Think you'll need set up the FormsEventHandler Extensbility Rule to prevent users from reverting a form if they are not an Administrator.
Try this:
Select Case args.OperationName
Case Is = BREventOperationType.Forms.RevertForm
If (BRApi.Security.Authorization.IsUserInGroup(si, "Administrators")) Then
'Do nothing
Else
If (args.IsBeforeEvent = False) Then
Throw (New XFUserMsgException(si, Nothing, Nothing, "Only Administrators can Revert Form"))
End If
End If
End Select
Related Content
- 2 years ago
- 3 months ago
- 10 months ago