November Happy Hour will be moved to Thursday December 5th.

Class PermissionList

A class to manage the roles and users that have a specific permission.

Inheritance
System.Object
System.Collections.Generic.List<SecurityEntity>
PermissionList
Implements
System.Collections.Generic.IList<SecurityEntity>
System.Collections.Generic.ICollection<SecurityEntity>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<SecurityEntity>
System.Collections.Generic.IReadOnlyCollection<SecurityEntity>
System.Collections.Generic.IEnumerable<SecurityEntity>
System.Collections.IEnumerable
Inherited Members
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Add(EPiServer.Security.SecurityEntity)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IList.Add(System.Object)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.AddRange(System.Collections.Generic.IEnumerable<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.AsReadOnly()
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.BinarySearch(System.Int32, System.Int32, EPiServer.Security.SecurityEntity, System.Collections.Generic.IComparer<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.BinarySearch(EPiServer.Security.SecurityEntity)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.BinarySearch(EPiServer.Security.SecurityEntity, System.Collections.Generic.IComparer<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Clear()
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Contains(EPiServer.Security.SecurityEntity)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IList.Contains(System.Object)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.ConvertAll<TOutput>(System.Converter<EPiServer.Security.SecurityEntity, TOutput>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.CopyTo(EPiServer.Security.SecurityEntity[])
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.CopyTo(System.Int32, EPiServer.Security.SecurityEntity[], System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.CopyTo(EPiServer.Security.SecurityEntity[], System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Exists(System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Find(System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.FindAll(System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.FindIndex(System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.FindIndex(System.Int32, System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.FindIndex(System.Int32, System.Int32, System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.FindLast(System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.FindLastIndex(System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.FindLastIndex(System.Int32, System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.FindLastIndex(System.Int32, System.Int32, System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.ForEach(System.Action<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.GetEnumerator()
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.Generic.IEnumerable<EPiServer.Security.SecurityEntity>.GetEnumerator()
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.GetRange(System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.IndexOf(EPiServer.Security.SecurityEntity)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IList.IndexOf(System.Object)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.IndexOf(EPiServer.Security.SecurityEntity, System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.IndexOf(EPiServer.Security.SecurityEntity, System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Insert(System.Int32, EPiServer.Security.SecurityEntity)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.LastIndexOf(EPiServer.Security.SecurityEntity)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.LastIndexOf(EPiServer.Security.SecurityEntity, System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.LastIndexOf(EPiServer.Security.SecurityEntity, System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Remove(EPiServer.Security.SecurityEntity)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IList.Remove(System.Object)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.RemoveAll(System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.RemoveAt(System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.RemoveRange(System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Reverse()
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Reverse(System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Sort()
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Sort(System.Collections.Generic.IComparer<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Sort(System.Comparison<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.ToArray()
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.TrimExcess()
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.TrueForAll(System.Predicate<EPiServer.Security.SecurityEntity>)
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Capacity
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Count
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IList.IsFixedSize
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.Generic.ICollection<EPiServer.Security.SecurityEntity>.IsReadOnly
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IList.IsReadOnly
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.Item[System.Int32]
System.Collections.Generic.List<EPiServer.Security.SecurityEntity>.System.Collections.IList.Item[System.Int32]
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
[Obsolete("Class is no longer used")]
public class PermissionList : List<SecurityEntity>, IList<SecurityEntity>, ICollection<SecurityEntity>, IList, ICollection, IReadOnlyList<SecurityEntity>, IReadOnlyCollection<SecurityEntity>, IEnumerable<SecurityEntity>, IEnumerable

Constructors

PermissionList(Permission)

Initializes a new instance of the PermissionList class.

Declaration
public PermissionList(Permission permission)
Parameters
Type Name Description
Permission permission

The permission that this instance applies to.

Properties

Permission

Gets the permission that this instance applies to.

Declaration
public Permission Permission { get; }
Property Value
Type Description
Permission

The permission.

Methods

IsPermitted(IPrincipal)

Determines whether the specified principal has this permission.

Declaration
public bool IsPermitted(IPrincipal principal)
Parameters
Type Name Description
System.Security.Principal.IPrincipal principal

The principal.

Returns
Type Description
System.Boolean

true if the specified principal is permitted; otherwise, false.

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods