IAdmUnmanagedAccountsInfo

The IAdmUnmanagedAccountsInfo interface is used to manage user accounts that are not visible in Adaxes.

Inheritance: IUnknown

Methods

Details

IsUnmanagedAccount()

Checks whether a user account is an unmanaged account.

bool IsUnmanagedAccount(string accountSid)

Parameters

The accountSid parameter specifies the security identifier (SID) of the user account to check.


GetUnmanagedAccounts()

Gets an array of unmanaged user accounts.

IAdmKeyValuePair[] GetUnmanagedAccounts(string[] propertiesToFetch)

Parameters

The propertiesToFetch parameter contains an array of names of properties to be fetched for each user account.

Return value

Each item in the array the method returns is represented by the IAdmKeyValuePair interface. You can use the IAdmKeyValuePair::Key property to retrieve the SID of an unmanaged user account in the SDDL format (e.g. S-1-5-1-123-456-789). The IAdmKeyValuePair::Value property gets the IAdmSearchResult interface with values of the properties specified by the propertiesToFetch parameter.

If an account cannot be found in the directory (for example, it was deleted), the IAdmKeyValuePair::Value property is null.

Examples

Configuring unmanaged user accounts


SetUnmanagedAccounts()

Sets unmanaged accounts. The method commits changes directly into the Adaxes backend.

void SetUnmanagedAccounts(string[] unmanagedAccountSids)

Parameters

The unmanagedAccountSids parameter contains an array of security identifiers (SIDs) of user accounts that will be unmanaged. The SIDs must be specified in the SDDL format (e.g. S-1-5-1-123-456-789).

Examples

Configuring unmanaged user accounts


Requirements

Minimum required version: 2011.2

See also