Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))

User Object

Location

My.User

Description

Use the My.User object to access information about the active Windows user.

Public Members

The following members of the My.User object have their own entries elsewhere in this chapter.

  • CurrentPrincipal Property

  • InitializeWithWindowsUser Method

  • IsAuthenticated Property

  • IsInRole Method

  • Name Property (My.User)

Usage at a Glance

This object's members provide varying functionality, depending on the type of application.

Related Framework Entries

  • Microsoft.VisualBasic.ApplicationServices.User Class

  • Microsoft.VisualBasic.ApplicationServices.WebUser Class

  • System.Web.HttpContext.User Class

See Also

CurrentPrincipal Property, InitializeWithWindowsUser Method, IsAuthenticated Property, IsInRole Method, Name Property (My.User)

Категории