|
-
Aug 21st, 2001, 07:01 AM
#1
Thread Starter
New Member
Domain Login
I need to login to another domain from my current one from VB 6.0.
As the secondary domain has a different password and username from the primary I cannot piggy back on the primary logon.
At the moment I can't seem to do it using netapi32.dll 'logonuser'
(though I CAN logon to my current domain i.e. true returned from
'logonuser')
I have set my profile to act as part of operating system
What would be ideal, would be to display the Windows standard
login form, so the password details could be saved. Does anyone know how to do this from VB??
or can any body shine any light on logonuser's inability
to access another domain
-
Aug 21st, 2001, 09:45 AM
#2
Fanatic Member
http://www.mvps.org/vbnet/code/network/netconnect.htm
That is a link to a sample that connects to network resources.
Maybe it can work with Domains as well ? Not sure...just throwing out an idea to look into.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|