Partager via


AuthorizationAssertion Class

Specifies the users or roles that are authorized or denied access to a Web service.

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

Usage

'Usage
Dim authorizationAssertion1 As New AuthorizationAssertion()

Syntax

'Declaration
Public Class AuthorizationAssertion
    Inherits PolicyAssertion
public class AuthorizationAssertion : PolicyAssertion
public ref class AuthorizationAssertion : PolicyAssertion
public class AuthorizationAssertion extends PolicyAssertion
public class AuthorizationAssertion extends PolicyAssertion

Remarks

The SOAP message sender is authorized based on the security token's Principal property. When the security token does not have a Principal property, such as the X509SecurityToken, the Identity property is used to authorize the sender. The Identity property is set by the role provider specified in the roleProviderName attribute.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services3.Design.PolicyAssertion
    Microsoft.Web.Services3.Design.AuthorizationAssertion

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

AuthorizationAssertion Members
Microsoft.Web.Services3.Design Namespace