Condividi tramite


PasswordOption Enumeration

Specifies how passwords that are contained in a SOAP message are sent.

Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim passwordOption1 As PasswordOption = PasswordOption.SendHashed

Syntax

'Declaration
Public Enum PasswordOption
public enum PasswordOption
public enum class PasswordOption
public enum PasswordOption
public enum PasswordOption

Members

Member name Description
SendHashed An SHA-1 hash of the password is sent in the SOAP message.
SendNone No password is sent in the SOAP message.
SendPlainText The password is sent in clear text.

Remarks

When sending client credentials to an XML Web service using a UsernameToken , the user name and password are sent in the SOAP message. The PasswordOption enumeration specifies how the password is sent in the SOAP message.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Microsoft.Web.Services3.Security.Tokens Namespace