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
已提问 1 年前230 查看次数
3 回答
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
已回答 1 年前
  • 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
已回答 1 年前
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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则