VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



nt user full name ...no api's no registry's ....only 3 lines of code

by Krishna (2 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 11th February 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

nt user full name ...no api's no registry's ....only 3 lines of code

Rate nt user full name ...no api's no registry's ....only 3 lines of code



UserDomain = Environ("userdomain")

Set user = GetObject("WinNT://" & UserDomain & "/" & UserId)

msgbox user.FullName

Download this snippet    Add to My Saved Code

nt user full name ...no api's no registry's ....only 3 lines of code Comments

No comments have been posted about nt user full name ...no api's no registry's ....only 3 lines of code. Why not be the first to post a comment about nt user full name ...no api's no registry's ....only 3 lines of code.

Post your comment

Subject:
Message:
0/1000 characters