AccessCheckRule Constructor (Boolean, String)
Initializes a new instance of the AccessCheckRule class using the specified user or group and whether the authorization rule allows or denies access to a Web service method.
Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim isAllowRule As Boolean
Dim user As String
Dim accessCheckRule1 As New AccessCheckRule(isAllowRule, user)
Syntax
'Declaration
Public Sub New( _
ByVal isAllowRule As Boolean, _
ByVal user As String _
)
public AccessCheckRule(
bool isAllowRule,
string user
);
public:
AccessCheckRule(
bool isAllowRule,
String^ user
);
public AccessCheckRule(
boolean isAllowRule,
System.String user
);
public function AccessCheckRule(
isAllowRule : Boolean,
user : String
);
Parameters
- isAllowRule
true to specify that this rule specifies a user or group that is allowed access to a Web service method; false to specify that this rule specifies a user or group that is denied access to a Web service method.
- user
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
AccessCheckRule Class
AccessCheckRule Members
Microsoft.Web.Services3.Design Namespace