July 2015
Intermediate to advanced
1300 pages
87h 27m
English
My.User is a property that allows getting information on the user who logged in to the Windows operating system and that is running the application. Such a property is of type Microsoft.VisualBasic.ApplicationServices.User and is a wrapper of this last mentioned one, meaning that you can invoke both and obtain the same results. Utilizing My.User is straightforward because it offers just a few but easy-to-understand members, as summarized in Table 19.2.
TABLE 19.2 My.User Members
Listing 19.1 shows how you can get information on the current user that runs the application. Notice how an invocation to InitializeWithWindowsUser is required ...