Check IIS Server for access permissions
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim iisPath As String
Dim server As String
Dim url As String
Dim physicalPath As String
Dim filePath As String
Dim status As String
Dim value As Boolean
value = IISHelper.CheckServerForAccess(iisPath, server, url, physicalPath, filePath, status) |
Parameters
- iisPath
- The Active Directory path of the virtual directory. Use GetIISLocation method to get the path.
- server
- The name of the server.
- url
- The url.
- physicalPath
- The output physical path.
- filePath
- The UNC path for the physical path.
- status
- The output status message.
Return Value
true if check server for access succeeds; false if not.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also