IIS 7 and Above
FTP - Get-WebConfiguration to retrieve details of users
Re: FTP - Get-WebConfiguration to retrieve details of users
Feb 15, 2021 02:35 AM|Jalpa Panchal|LINK
You could try to store the value of the user and permissions in variable and in if condition you can check that values.
you could refer to below post for reference: