This topic has not yet been rated - Rate this topic

IMsTscNonScriptable::PortableSalt property

[This property is no longer available for use as of Windows Server 2003 with Service Pack 1 (SP1) and Windows XP with Service Pack 2 (SP2).]

Specifies the salt value part of a portable encoded password. Note that this should not be considered a securely encrypted format.

You can set this property to specify the salt value part of a connection password after converting the plaintext password by setting the ClearTextPassword property and then retrieving the PortableSalt property.

This property is read/write.

Syntax


HRESULT put_PortableSalt(
  [in]   BSTR newPortableSalt
);

HRESULT get_PortableSalt(
  [out]  BSTR *pPortableSalt
);

Property value

The new portable salt part for a portable encoded password.

Error codes

Returns S_OK if successful. Returns E_NOTIMPL if called on a platform that does not support it.

Remarks

To set a password in portable encoded format, you must call both the put_PortablePassword method and the put_PortableSalt method.

You can set the PortableSalt property only when the Remote Desktop ActiveX control is not in the connected state. This method returns E_FAIL if called when the control is connected. To check for the connected state, retrieve the IMsTscAx::Connected property.

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP with SP1

End of server support

Windows Server 2003

IID

IID_IMsTscNonScriptable is defined as c1e6743a-41c1-4a74-832a-0dd06c1c7a0e

See also

IMsRdpClientNonScriptable
IMsRdpClientNonScriptable2
IMsRdpClientNonScriptable3
IMsTscNonScriptable
PortablePassword

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.