User names are the most important ones. Whether to write in logs or display a warm hello message, it is there throughout
Here let us look at the way to get the user of the system. Webdevelopemt will have different 'users'.
Function Get_User_Name() As String
Return My.User.Name
End Function
BlogRankings.com
Again the My namespace comes in handy
The same can be done using VBA :
http://vbadud.blogspot.com/2007/05/get-computer-name.html
For knowing the user using SQL select statement please refer :
No comments:
Post a Comment