May 2010
Intermediate to advanced
1272 pages
61h 18m
English
My.UserMy.User is a property that allows getting information on the user that logged into 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 20.2.
Table 20.2 My.User Members

Listing 20.1 shows how you can get information on the current user that runs the application. Notice how an invocation to InitializeWithWindowsUser is required ...
Read now
Unlock full access