If the method succeeds, the return value is non-zero. If the
client ID does not specify a valid client session, or the client has
not authenticated itself, the method will return zero and the
lpszUserName parameter will be set to an empty string.
The IsClientAuthenticated method can be used to
determine if the client has provided credentials as part of the
request made to the server.