C# Class Affecto.ActiveDirectoryService.ActiveDirectoryService

Inheritance: IActiveDirectoryService
Mostra file Open project: affecto/dotnet-ActiveDirectoryService

Public Methods

Method Description
ActiveDirectoryService ( DomainPath domainPath ) : System
GetGroupMembers ( System.Guid nativeGuid, bool recursive, ICollection additionalPropertyNames = null ) : IReadOnlyCollection
GetGroupMembers ( string groupName, bool recursive, ICollection additionalPropertyNames = null ) : IReadOnlyCollection
GetPrincipal ( System.Guid nativeGuid, ICollection additionalPropertyNames = null ) : IPrincipal
GetPrincipal ( string accountName, ICollection additionalPropertyNames = null ) : IPrincipal
IsGroupMember ( string accountName, string groupName ) : bool
SearchPrincipals ( string ldapFilter, ICollection additionalPropertyNames = null ) : IReadOnlyCollection

Protected Methods

Method Description
GetDirectoryEntryByNativeGuid ( System.Guid nativeGuid ) : System.DirectoryServices.DirectoryEntry
GetGroupMemberAccountNames ( string groupName ) : IEnumerable
GetPrincipalInternal ( System.Guid nativeGuid, ICollection additionalPropertyNames = null ) : Principal
ResolveMembers ( Principal parent, bool isRecursive, ICollection additionalPropertyNames ) : IReadOnlyCollection

Method Details

ActiveDirectoryService() public method

public ActiveDirectoryService ( DomainPath domainPath ) : System
domainPath DomainPath
return System

GetDirectoryEntryByNativeGuid() protected method

protected GetDirectoryEntryByNativeGuid ( System.Guid nativeGuid ) : System.DirectoryServices.DirectoryEntry
nativeGuid System.Guid
return System.DirectoryServices.DirectoryEntry

GetGroupMemberAccountNames() protected method

protected GetGroupMemberAccountNames ( string groupName ) : IEnumerable
groupName string
return IEnumerable

GetGroupMembers() public method

public GetGroupMembers ( System.Guid nativeGuid, bool recursive, ICollection additionalPropertyNames = null ) : IReadOnlyCollection
nativeGuid System.Guid
recursive bool
additionalPropertyNames ICollection
return IReadOnlyCollection

GetGroupMembers() public method

public GetGroupMembers ( string groupName, bool recursive, ICollection additionalPropertyNames = null ) : IReadOnlyCollection
groupName string
recursive bool
additionalPropertyNames ICollection
return IReadOnlyCollection

GetPrincipal() public method

public GetPrincipal ( System.Guid nativeGuid, ICollection additionalPropertyNames = null ) : IPrincipal
nativeGuid System.Guid
additionalPropertyNames ICollection
return IPrincipal

GetPrincipal() public method

public GetPrincipal ( string accountName, ICollection additionalPropertyNames = null ) : IPrincipal
accountName string
additionalPropertyNames ICollection
return IPrincipal

GetPrincipalInternal() protected method

protected GetPrincipalInternal ( System.Guid nativeGuid, ICollection additionalPropertyNames = null ) : Principal
nativeGuid System.Guid
additionalPropertyNames ICollection
return Principal

IsGroupMember() public method

public IsGroupMember ( string accountName, string groupName ) : bool
accountName string
groupName string
return bool

ResolveMembers() protected method

protected ResolveMembers ( Principal parent, bool isRecursive, ICollection additionalPropertyNames ) : IReadOnlyCollection
parent Principal
isRecursive bool
additionalPropertyNames ICollection
return IReadOnlyCollection

SearchPrincipals() public method

public SearchPrincipals ( string ldapFilter, ICollection additionalPropertyNames = null ) : IReadOnlyCollection
ldapFilter string
additionalPropertyNames ICollection
return IReadOnlyCollection