Verifies that the current user can perform the specified task.
The task to test.
The current application group ID in scope.
The current application ID in scope.
The current environment ID in scope.
The current server ID in scope.
The user cannot perform the specified task.