This support function will provide a token representing the anonymous account configured for a given metabase URL.

BOOL ServerSupportFunction(
      HCONN ConnID,
      DWORD dwServerSupportFunction,
      LPVOID lpvBuffer,
      LPDWORD lpdwSizeofBuffer,


  • ConnID
    Specifies the connection identifier of the client to which the response data should be sent.

  • dwServerSupportFunction
    The name of the Server Support function, which in this case must be set to HSE_REQ_GET_ANONYMOUS_TOKEN.

  • lpvBuffer
    A NULL-terminated string noting the metabase path whose applicable anonymous token is desired.

  • lpdwSizeofBuffer
    A pointer to a HANDLE which will receive the token.

  • NULL
    Must be set to NULL.


Server: Requires or Windows Server 2003.

Product: IIS

Header: Declared in httpext.h.