The IAdmService5 interface extends the IAdmService interface.
Creates a logon session to the Adaxes service with the given credentials.
IAdmLogonSession CreateLogonSession(String usernameArg, String passwordArg)
If both parameters are set to NULL, the credentials of the currently logged on user are used.
Object OpenObject2(String path, IAdmLogonSession logonSession, Boolean useFastBind)
- 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.
The method does not throw an exception if you bind to an object that does not exist and fast binding is enabled.
Gets the current date and time on the computer where the Adaxes service is installed.
Gets the unique identifier of the Adaxes service instance.
Minimum required version: 2018.1