BlogEngine.Core.Security.CurrentUserRights C# (CSharp) Method

CurrentUserRights() public static method

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