Microsoft Internet Security and Acceleration Server 2000

IFWXSession::AccessCheck Method

Checks the permission of the session user to use a protocol that was previously registered by calling the IFWXFilterAdmin::RegisterProtocolForFilter method.

HRESULT AccessCheck(
  REFGUID ProtocolGuid
);

Parameters

ProtocolGuid
[in] GUID identifying the protocol to check.

Return Values

S_OK
The user is in the ACL; that is, the user has permission.
S_FALSE
The user is not in the ACL; that is, the user was denied access.
Error code
The method failed.

Remarks

Though you would typically use this method to check a user's permission to use a protocol that was registered by calling IFWXFilterAdmin::RegisterProtocolForFilter, AccessCheck Method can be used to check a user's access to any protocol.