Skip to content

API Library Active Directory

Robert Polak edited this page Aug 27, 2019 · 15 revisions

Home / API Library / Active Directory

API Library Active Directory to search User in the configured Domain. The API Library Active Directory Methods list with Parameters.

Configuration

Configuration of Active Directory variables at App.config.

More details about The Server API Library Configuration at Configuration API - Active Directory


List

This method list Active Directory for the configured Domain.

Method: API.ActiveDirectory.List

Parameters:

Name Type Default Description
username String null username

Return: IDictionary<string, Object>


Search

This method search a user in Active Directory for the configured Domain

Method: API.ActiveDirectory.Search

Parameters:

Name Type Default Description
username String username

Return: IDictionary<string, Object>


IsAuthenticated

Checks if the user is authenticated against Active Directory.

Method: API.ActiveDirectory.IsAuthenticated

Parameters:

Name Type Default Description
userPrincipal String userPrincipal

Return: Boolean (true or false)