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
asked a year ago226 views
3 Answers
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
answered a year ago
  • 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
answered a year ago
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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions