ISyncSchedule::SetAccountInformation method

[The ISyncSchedule::SetAccountInformation method is available for use through Windows XP. It is not available in subsequent versions of Windows.]

Sets information regarding the user account associated with the schedule.

Syntax


HRESULT SetAccountInformation(
  [in] LPCWSTR pwszAccountName,
  [in] LPCWSTR pwszPassword
);

Parameters

pwszAccountName [in]

Type: LPCWSTR

A pointer to a buffer containing the user name.

pwszPassword [in]

Type: LPCWSTR

A pointer to a buffer containing the password for the user account.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Syncmgr.h

IDL

Syncmgr.idl

DLL

Mobsync.dll

 

 

Show: