typedef TCheckAccessRightsEvent TCheckAccessRightsEvent;
TCheckAccessRightsEvent is the type for event handlers that check the current user's access rights against a rights string.
UserID is the user ID of the user whose rights should be checked.
Rights is a string that represents the rights the user should have to be granted access. Typically, this value comes from the ViewRights property of a Web page information object that describes the page that the user wants to access or of an adapter that the user wants to call.
HasRight returns true if the event handler grants the user access rights, false if the event handler denies access.