@amaresan @bobby @Palaniyappan @loginerror
I have tried using
upass = new system.Net.NetworkCredential(“”, "”).SecurePassword
it gives error
Value of type ‘String’ cannot be converted to ‘System.Security.SecureString’.
upass is securestring type variable