/// <summary> /// Determines whether the ID of this logged-in user is the same as a specified user. /// </summary> public static bool Is(this ClaimsPrincipal loggedInUser, ILoginInfo loginInfo) => loginInfo.Is(loggedInUser);
/// <summary> /// Determines whether the ID of this logged-in user is the same as a specified user. /// </summary> public static bool Is(this ClaimsPrincipal @this, ILoginInfo loginInfo) => loginInfo.Is(@this);