User name on virtual disk

0

Gentlemen,

Usually the driver created with the workdocsclient has the name of the machine. Is there any way to put the username that was used in the workdocsclient.

Roney
posta un anno fa230 visualizzazioni
3 Risposte
0

Yes, it is possible to include the username that was used to create the WorkDocs client in the driver name. To do this, you will need to pass the username as a parameter to the WorkDocs client constructor when you create the client.

For example, you can use the following code snippet to create a WorkDocs client and include the username in the driver name:

from workdocs_client import WorkDocsClient

client = WorkDocsClient(username='YourUsername', driver_name='WorkDocsClient-YourUsername')

You can then use the client variable to interact with the WorkDocs service, and the driver name will include the username that was used to create the client.

Keep in mind that you can use any string variable instead of 'YourUsername' in the username parameter.

profile picture
con risposta un anno fa
  • Could you help me how to proceed?

    How could put user name in virtual driver.

0

Would this code be in the machine's CMD?

Roney
con risposta un anno fa
0

How can I use this code to change the driver name?

from workdocs_client import WorkDocsClient
client = WorkDocsClient(username='YourUsername', driver_name='WorkDocsClient-YourUsername')

I really don't know where to use it.

Roney
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande