Share via


CredentialContext.Item Property

Gets or sets the CredentialContext for the specified SOAP actor.

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

Usage

'Usage
Dim credentialContext1 As CredentialContext

Dim key As String
Dim returnValue As CredentialSet
returnValue = credentialContext1.Item(key)

Syntax

'Declaration
Public ReadOnly Property Item( _
    ByVal actor As String _
) As CredentialSet
public CredentialSet this[
    string actor
] {get;}
public:
property CredentialSet^ default[String^] {
    CredentialSet^ get(String^ actor);
}
public CredentialSet get_Item(
    System.String actor
);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

  • actor
    A SOAP actor that represents an intermediary or the ultimate destination.

Property Value

A CredentialContext that represents the security credentials that are used to secure the SOAP message.

Remarks

A policy can contain different protection requirements on a per-SOAP actor basis. Use the Item property to get the security credentials for a specific intermediary or the ultimate destination. The UltimateReceiver can also be used to get the security credentials for the ultimate destination. Each SOAP action represents either an intermediary to which the SOAP message is routed or the ultimate destination of the SOAP message. A SOAP actor of an empty string ("") represents the ultimate destination. This is the default when an actor is not specified. For each of these intermediaries and the ultimate destination, different security credentials can be used to digitally sign or encrypt parts of the SOAP message.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

CredentialContext Class
CredentialContext Members
Microsoft.Web.Services3 Namespace