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
demandé il y a un an230 vues
3 réponses
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
répondu il y a un an
  • 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
répondu il y a un an
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions