Accessing User Data (Visual Basic)
This section contains topics dealing with the My.User
object and tasks that you can accomplish with it.
The My.User
object provides access to information about the logged-on user by returning an object that implements the IPrincipal interface.
Tasks
To | See |
---|---|
Get the user's login name | Name |
Get the user's domain name, if the application uses Windows authentication | CurrentPrincipal |
Determine the user's role | IsInRole |
See also
Sarađujte sa nama na GitHub-u
Izvor za ovaj sadržaj možete da pronađete u usluzi GitHub, gde možete i da kreirate i pregledate probleme i povučete zahteve. Više informacija potražite u našem vodiču za saradnike.
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tokom 2024. godine postepeno ćemo ukidati probleme sa uslugom GitHub kao mehanizam povratnih informacija za sadržaj i zameniti ga novim sistemom povratnih informacija. Dodatne informacije potražite u članku:Prosledite i prikažite povratne informacije za