Condividi tramite


AccessCheckRule Members

Represents a single rule that specifies whether a user is allowed access to a Web service method. This class cannot be inherited.

The following tables list the members exposed by the AccessCheckRule type.

Public Constructors

  Name Description
AccessCheckRule Overloaded. Initializes a new instance of the AccessCheckRule class.

Top

Public Properties

  Name Description
public property IsAllowRule Gets a value indicating whether this authorization rule allows access to a Web service method.
public property Role Gets the role to which this authorization rule applies.
public property User Gets the user name to which this authorization rule applies.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method Equals  Overloaded. (Inherited from Object )
public method GetHashCode  (Inherited from Object )
public method GetType  (Inherited from Object )
public method static ReferenceEquals  (Inherited from Object )
public method ToString  (Inherited from Object )
public method TryCheckAccess Checks whether this authorization rule applies to the specified user and, if so, whether they are granted access to the Web service method.

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )

Top

See Also

Reference

AccessCheckRule Class
Microsoft.Web.Services3.Design Namespace