InitializeWithWindowsUser Method


InitializeWithWindowsUser Method

Location

My.User.InitializeWithWindowsUser

Syntax

     My.User.InitializeWithWindowsUser(  ) 

Description

The My.User object generally refers to the user that owns the current execution thread. The InitializeWithWindowsUser method resets the My.User object to the user that started the application.

Usage at a Glance

  • While this method will work in ASP.NET applications, its use has no true impact on the My.User object.

Related Framework Entries

  • Microsoft.VisualBasic.ApplicationServices.User.InitializeWithWindowsUser Method

  • Microsoft.VisualBasic.ApplicationServices.WebUser.InitializeWithWindowsUser Method

See Also

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




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net