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
preguntada hace un año230 visualizaciones
3 Respuestas
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
respondido hace un año
  • 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
respondido hace un año
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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas