Class PortalPermissionCollection
Inheritance
PortalPermissionCollection
Assembly: DotNetNuke.dll
Syntax
public class PortalPermissionCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
PortalPermissionCollection()
Declaration
public PortalPermissionCollection()
PortalPermissionCollection(PortalPermissionCollection)
Declaration
public PortalPermissionCollection(PortalPermissionCollection portalPermissions)
Parameters
PortalPermissionCollection(ArrayList)
Declaration
public PortalPermissionCollection(ArrayList portalPermissions)
Parameters
Type |
Name |
Description |
ArrayList |
portalPermissions |
|
PortalPermissionCollection(ArrayList, int)
Declaration
public PortalPermissionCollection(ArrayList portalPermissions, int portalId)
Parameters
Type |
Name |
Description |
ArrayList |
portalPermissions |
|
int |
portalId |
|
Properties
this[int]
Declaration
public PortalPermissionInfo this[int index] { get; set; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
Methods
Add(PortalPermissionInfo)
Declaration
public int Add(PortalPermissionInfo value)
Parameters
Returns
Add(PortalPermissionInfo, bool)
Declaration
public int Add(PortalPermissionInfo value, bool checkForDuplicates)
Parameters
Returns
AddRange(PortalPermissionCollection)
Declaration
public void AddRange(PortalPermissionCollection portalPermissions)
Parameters
AddRange(ArrayList)
Declaration
public void AddRange(ArrayList portalPermissions)
Parameters
Type |
Name |
Description |
ArrayList |
portalPermissions |
|
AddRange(IEnumerable<PortalPermissionInfo>)
Declaration
public void AddRange(IEnumerable<PortalPermissionInfo> portalPermissions)
Parameters
CompareTo(PortalPermissionCollection)
Declaration
public bool CompareTo(PortalPermissionCollection objPortalPermissionCollection)
Parameters
Returns
Contains(PortalPermissionInfo)
Declaration
public bool Contains(PortalPermissionInfo value)
Parameters
Returns
IndexOf(PortalPermissionInfo)
Declaration
public int IndexOf(PortalPermissionInfo value)
Parameters
Returns
Insert(int, PortalPermissionInfo)
Declaration
public void Insert(int index, PortalPermissionInfo value)
Parameters
Remove(PortalPermissionInfo)
Declaration
public void Remove(PortalPermissionInfo value)
Parameters
Remove(int, int, int)
Declaration
public void Remove(int permissionID, int roleID, int userID)
Parameters
Type |
Name |
Description |
int |
permissionID |
|
int |
roleID |
|
int |
userID |
|
ToList()
Declaration
public List<PermissionInfoBase> ToList()
Returns
ToString(string)
Declaration
public string ToString(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
Where(Func<PortalPermissionInfo, bool>)
Declaration
public IEnumerable<PortalPermissionInfo> Where(Func<PortalPermissionInfo, bool> predicate)
Parameters
Returns
Implements
Extension Methods