This function takes the following parameters:
Parameter block.
Entry that you want to test.
Filter that you want to test the entry against.
If 1, verifies that the current user has access rights to search the specified entry. If 0, bypasses any access control.