.Net Framework > v3.5.21022.8 > System > DirectoryServices > AccountManagement > PrincipalCollection PrincipalCollection
Category
Class
Description
A mutable collection of objects derived from the System.DirectoryServices.AccountManagement.Principal class. This class is designed to be used for multi-valued properties that contain Principals. Manipulating the contents of this collection changes the contents of the corresponding store property, which is made permanent when System.DirectoryServices.AccountManagement.Principal.Save is called on the corresponding principal object.
Assembly
System.DirectoryServices.AccountManagement
Character
public
Attributes
NameValue/Assignment
DirectoryServicesPermissionAttributeSystem.Security.Permissions.SecurityAction.LinkDemand; Unrestricted=True
Ancestors
Object
Implements
System.Collections.Generic.ICollection<Principal>, ICollection, System.Collections.Generic.IEnumerable<Principal>, IEnumerable
Properties
Count
IsReadOnly
IsSynchronized
SyncRoot
Count
IsSynchronized
SyncRoot
Methods
Add(ComputerPrincipal)
Add(GroupPrincipal)
Add(Principal)
Add(PrincipalContext,IdentityType,String)
Add(UserPrincipal)
Clear()
Contains(ComputerPrincipal)
Contains(GroupPrincipal)
Contains(Principal)
Contains(PrincipalContext,IdentityType,String)
Contains(UserPrincipal)
CopyTo(Principal[],Int32)
GetEnumerator()
Remove(ComputerPrincipal)
Remove(GroupPrincipal)
Remove(Principal)
Remove(PrincipalContext,IdentityType,String)
Remove(UserPrincipal)
CopyTo()
GetEnumerator()
Tags
0103E2B958, 02E3ABA98D, 0322962271
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples