Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use this method to override the user credentials, passing new credentials for the account profile to be used.
Syntax
HRESULT SetCredentials(
LPCWSTR szUserName,
LPCWSTR szPassword
);
Parameters
szUserName
User account.
szPassword
Password.
Return value
S_OK indicates success.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | objsel.h |
| DLL | Objsel.dll |