Connect HomeMarketplaceComponentsEnquero - File Path Access Validator

Enquero - File Path Access Validator

Snippet

Snippet

Published: January 21st, 2020

Downloads: 25

Language compatibility: Visual Basic

Community Support

Enquero - File Path Access Validator

Snippet

Summary: 

Handle the file path pre-validation need and the access permission from the beginning of a BOT development cycle


Details

Benefits

The advantages of using the File Path Access Validator include:
Query the user access details of the file path (directory, sub-directories, network shared path, etc.)
Verify if a given user (say, a BOT user) has any read-write access to the file path or not
Most useful when a BOT user's access to the file path(a network shared directory, sub-directories for file I/O operations) needs to be queried and verified after the Init state in ReFramework
Reusable across different projects and workflows

Compatibility

Tested with:
UiPath Studio 2019.12.0-beta.61
Windows 10 OS
Windows PowerShell Version 5.1.18362.145

Dependencies

Windows PowerShell ExecutionPolicy
Windows PowerShell has an inbuilt security setting called "execution policy". Execution Policy determines how (or if) a given PowerShell script can run. By default, PowerShell's execution policy is set to "Restricted", which means the script will not run. You can verify the currently set execution policy by querying on a PowerShell command console as: Get-ExecutionPolicy. It will tell the execution right of the currently logged in user.
You need to change the behavior of a PS script execution from the PowerShell command console as: Set-ExecutionPolicy RemoteSigned. You should be able to execute PowerShell scripts then. Else, you can check with your IT team.

Resources

- Enquero_FilePathAccessValidator.pdf

Licensing

By clicking download you agree to the following license.