IMFNetCredential::SetUser method (mfidl.h)
Sets the user name.
HRESULT SetUser( [in] BYTE *pbData, [in] DWORD cbData, [in] BOOL fDataIsEncrypted );
Pointer to a buffer that contains the user name. If fDataIsEncrypted is FALSE, the buffer is a wide-character string. Otherwise, the buffer contains encrypted data.
Size of pbData, in bytes. If fDataIsEncrypted is FALSE, the size includes the terminating null character.
If TRUE, the user name is encrypted. Otherwise, the user name is not encrypted.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|