3.1.4.2.3 Determining If Requestors Are Anonymous

 procedure IsRequestorAnonymous() : boolean

The IsRequestorAnonymous procedure returns TRUE if the requestor is anonymous. On entrance:

  • AnonymousSid: This MUST be the ANONYMOUS SID as specified in [MS-DTYP] section 2.4.2.4.

  • RpcImpersonationAccessToken: This MUST be the token ([MS-DTYP] section 2.5.2) of the client, obtained by invoking the GetRpcImpersonationAccessToken interface as specified in [MS-RPCE] section 3.3.3.4.3.1, specifying NULL for Input Parameter.

     Return RpcImpersonationAccessToken.Sids[RpcImpersonationAccessToken.UserIndex] equals AnonymousSid