Know if current Windows user is an Office 365 user RRS feed

  • Question

  • Hi!

    I am developing a Windows console App using C#.

    I need to know if the current Windows user is a user from an Office 365 tenant, or not.

    I am checking if System.Security.Principal.WindowsIdentity.GetCurrent().AuthenticationType is "CloudAP" but I am not sure if it will cover all cases.

    Thanks in advance

    Monday, April 29, 2019 12:54 PM

All replies