BlogEngine.Core.Security.CurrentUserRights C# (CSharp) Méthode

CurrentUserRights() public static méthode

Returns an IEnumerable of Rights that belong to the ecurrent user.
public static CurrentUserRights ( ) : IEnumerable
Résultat IEnumerable
        public static IEnumerable<Right> CurrentUserRights()
        {
            return Right.GetRights(Security.GetCurrentUserRoles());
        }