Impersonation is not supported with the .net standard version of the Frends.File tasks. ExecuteAction should also check the compilation target with the #if preprocessor.
|
return Impersonation.RunAsUser(new UserCredentials(domainAndUserName[0], domainAndUserName[1], password), |