Esempio n. 1
0
    public static UserInfo GetCurrentUser()
    {
        var identity = GetCurrentIdentity();

        return((identity != null) ? identity.User : AccountUtility.AssignGuestUser());
    }