How to get an author?


I want to get the information in the following image.

This script can match only in a new document, I want to get the information of a user opening a grasshopper document.
Does anyone show me the way?


That’s not the author, that’s the viewer. There are no mechanisms to read that.


I see… Thanks for your reply.

I don’t understand why you had to be dismissive.


But here is how to get the Author’s Infos.


Thanks, your advice helps me!
Reading the script in a c# component, I realized GrasshopperDocument belongs the GH_Document type, and I got the information typing new GH_Document().Author.Name.