Hi all,
Using C# or VB.NET (Workflow/SDK), I want to create a folder on a NAS but I need to enter the login details.
This is my actual code
Protected Overrides Sub Execute()
'Rédigez votre code ici. La propriété BoundEntryInfo accèdera à l'entrée, RASession obtiendra la section de Repository Access
Dim pathToCreate As String = GetTokenValue("dossier_destination")
Dim success As Boolean = False
Try
System.IO.Directory.CreateDirectory(pathToCreate)
success = True
Catch ex As Exception
Me.WorkflowApi.TrackError(ex.message)
End Try
Me.SetTokenValue("Success", success)
End Sub
The error indicates that the username or password is incorrect.
What is the code to indicate the identifiers?
Thanks in advance.
Regards