NetGetAadJoinInformation function netapi32

int NetGetAadJoinInformation(
  1. Pointer<Utf16> pcszTenantId,
  2. Pointer<Pointer<DSREG_JOIN_INFO>> ppJoinInfo
)

Retrieves the join information for the specified tenant. This function examines the join information for Microsoft Azure Active Directory and the work account that the current user added.

HRESULT NET_API_FUNCTION NetGetAadJoinInformation(
  [in, optional] LPCWSTR          pcszTenantId,
  [out]          PDSREG_JOIN_INFO *ppJoinInfo
);

Implementation

int NetGetAadJoinInformation(Pointer<Utf16> pcszTenantId,
        Pointer<Pointer<DSREG_JOIN_INFO>> ppJoinInfo) =>
    _NetGetAadJoinInformation(pcszTenantId, ppJoinInfo);