IActiveDirectoryManager Interface

Contains some helper functions for manipulation of active directories.
Public Interface IActiveDirectoryManager
This language is not supported or no code example is available.
public interface IActiveDirectoryManager
This language is not supported or no code example is available.
Name Description
Public property ContextType Gets the current Context type of this IActiveDirectoryManager, default is Domain.
Public property CurrentUserNTName Gets the NT account name of the current user.
Public property IsDomainAccessible Gets the value indicating whether the domain is accessible.
Top
Methods
 
Name Description
Public method CheckIsDomainAccessible(DomainSettings) Determines whether the specified domain is accessible.
Public method FindNTUser(string) Returns a user principal object that matches the specified identity value.
Public method GetAccountNameFromSid(string) Gets an account name for the specified SID.
Public method GetCurrentUserNTGroups() Gets a list of NT group names the current user belongs to.
Public method GetCurrentUserNTGroups(bool) Gets a list of NT group names the current user belongs to. The list can be retrieved from the local storage if it is inaccessible from the domain.
Public method GetCurrentUserNTGroupsFiltered(List<String>) Gets a filtered list of NT group names and SIDs the current user belongs to.
Public method GetCurrentUserSid() Gets the SID of the current user.
Public method GetNTGroup(string) Gets a GroupPrincipal object for the specified user NT group name.
Public method GetNTGroupFromSid(string) Gets a GroupPrincipal object for the specified user SID.
Public method GetNTGroupUsers(List<String>) Gets all users belonging to the specified groups.
Public method GetNTGroups() Gets a list of all NT group names in the current domain.
Public method GetNTUser(string) Gets a UserPrincipal info for the specified user NT name.
Public method GetNTUserFromSid(string) Gets a UserPrincipal info for the specified user SID.
Public method GetPrincipalContext(DomainSettings) Gets a PrincipalContext for the specified DomainSettings.
Public method GetSidFromLogin(string, bool) Gets a SID from the login data.
Public method GetUserNTGroups(string) Gets a list of NT group names of the specified NT user.
Public method IsUserMemberOfNTGroup(string, UserPrincipal) Determines whether a user is a member of a group.
Public method IsUserMemberOfNTGroups(string, List<String>) Determines whether a user is a member of any of specified NT groups.
Top
Remarks
 
You can obtain an instance of this interface from QdvManager.ActiveDirectoryManager property.
Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition