Domino - IIS - SSO and @UserName

Has anyone got this combination working fine?

For me it works fine as far as the user is from our domain.

But for other domain users - they can access the server but their name is not recognised.

eg: “@Name([CN]; @UserName)” returns network_domain_name/network_login_id