Community
Is there an access to change the username of the document via API?
My understnding is that this property is read only.
From SDK help:
BasicFileInfo..::..Username Property
BasicFileInfo Class
Returns the username.
Namespace: Autodesk.Revit.DB
C#
public string Username { get; }
Which leads me to my next question:
How to return the Revit Username?
<code>
BasicFileInfo bfi = new BasicFileInfo();
return bfi.Username;
</code>
Is not correct: "no constructors defined"
Thanks, Dale
UIApplication.Application.Username
Hi Autodesk,
Please enable setting the Application.Username property in a future release.
Thanks
Harry