Adf.Core.Logging.LogManager.GetCurrentUser C# (CSharp) Method

GetCurrentUser() private static method

private static GetCurrentUser ( ) : IUser
return IUser
        private static IUser GetCurrentUser()
        {
            // getting the current user when not logged in might throw an exception and cause a loop calling LogManager..
            return AuthorizationManager.IsLoggedOn ? AuthorizationManager.CurrentUser : null;
        }