Skip to content

IAdmService5

The IAdmService5 interface extends the IAdmService interface.

Inheritance: The IAdmService5 interface inherits from the IAdmService4 interface.

Methods

Properties

  • Property

  • Description

  • CurrentDateTime

  • Gets the current date and time on the computer where the Adaxes service is installed.

  • InstanceId

  • Gets the unique identifier of the Adaxes service instance.

Details

CreateLogonSession()

Creates a logon session to the Adaxes service with the given credentials.

IAdmLogonSession CreateLogonSession(String usernameArg, String passwordArg)

Remarks

If both parameters are set to NULL, the credentials of the currently logged on user are used.


OpenObject2()

Binds to a directory object. Unlike the IAdmService::OpenObject method, this method uses the IAdmLogonSession interface for authentication and allows enabling fast binding.

Object OpenObject2(String path, 
                   IAdmLogonSession logonSession, 
                   Boolean useFastBind)

Parameters

  • path - Specifies the ADS path of the directory object.
  • logonSession - Specifies the IAdmLogonSession interface that represents credentials used for authentication. To create a logon session, use the CreateLogonSession method.
  • useFastBind - Specifies a value indicating whether fast binding is enabled. If set to TRUE, the method does not perform a directory request. Therefore, the object returned by the method exposes only base ADSI interfaces (e.g. IADs, IADsContainer, etc.). Interfaces specific for certain object types (e.g. IADsUser, IADsGroup) will not be exposed.

Remarks

The method does not throw an exception if you bind to an object that does not exist and fast binding is enabled.


CurrentDateTime

Gets the current date and time on the computer where the Adaxes service is installed.

  • Type:
  • DateTime
  • Access:
  • Read-only

InstanceId

Gets the unique identifier of the Adaxes service instance.

  • Type:
  • String
  • Access:
  • Read-only

Requirements

Minimum required version: 2018.1

See also