Hi,
I wanted to set Username.
So I tried to use the method SetUserName that appears under IUserInfo.
I tried like this:
IDocument * doc = Utils<ILayoutUIUtils>()->GetFrontDocument(); const UIDRef& testRef = GetUIDRef(doc); InterfacePtr<IUserInfo> uInf(testRef ,IID_IUSERINFO);