AuthorizationExtensions.ValidateLoggedIn method

namespace: Serenity   assemblySerenity.Net.Core

Checks if there is a currently logged user and throws a validation error with "NotLoggedIn" error code if not.

public static void ValidateLoggedIn(this IUserAccessor userAccessor, ITextLocalizer localizer)

See Also