This function returns the authentication level of this session handle; returns ULONG_MAX if there was any error.