IMSCEPSetup::SetAccountInformation method (casetup.h)

The SetAccountInformation method sets the user account information used by the IIS Network Device Enrollment Service (NDES) extension to perform enrollment on behalf of network devices.

Syntax

HRESULT SetAccountInformation(
  [in] const BSTR bstrUserName,
  [in] const BSTR bstrPassword
);

Parameters

[in] bstrUserName

A string that contains the name of the user account to use with the IIS extension in the form [DomainName]UserName.

[in] bstrPassword

A string that contains the password for the user account.

Return value

None

Remarks

The account must be a member of the IIS_USRS group on the computer.

If NDES is configured for an enterprise certification authority (CA), the account must have read permission on the IPSecIntermediateOffline template.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]
Target Platform Windows
Header casetup.h
DLL Certocm.dll

See also

IMSCEPSetup