Share via


ActiveDirectoryClient Class

Definition

public class ActiveDirectoryClient
type ActiveDirectoryClient = class
Public Class ActiveDirectoryClient
Inheritance
ActiveDirectoryClient

Constructors

ActiveDirectoryClient(IAzureContext)

Creates new ActiveDirectoryClient using WindowsAzureSubscription.

Properties

GraphClient

Methods

FilterGroups(ADObjectFilterOptions, Int32, Int32)
FilterServicePrincipals(ADObjectFilterOptions, Int32, Int32)
FilterServicePrincipals(ODataQuery<MicrosoftGraphServicePrincipal>, Int32, Int32)
FilterUsers(ADObjectFilterOptions, Int32, Int32)
GetADObject(ADObjectFilterOptions)

Gets a single directory object (user, service principal or group) according to filter.

GetObjectByObjectId(String)

Get object by ObjectId

GetObjectId(ADObjectFilterOptions)
GetObjectsByObjectIds(List<String>)

The graph getobjectsbyObjectId API supports 1000 objectIds per call. Due to this we are batching objectIds by chunk size of 1000 per APi call if it exceeds 1000

Applies to