FrendsPlatform/Frends.File

Trying to use Impersonation with Find, Rename or Delete fails in an unhandled exception.

nickeeex opened this issue · 1 comments

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),

@nickeeex If you're still having problems with this, we decided to write our own extension for 6.0 for use on the X-platform agent. Supports impersonation for SMB the same as on Windows: https://github.com/Hoglandets-IT/Frends.HIT.RemoteFS