how to give windows user & password by coding??

  • 12 years ago

    hiiiii,
    how to give windows user & password by coding??
    for example : in my program i want create function for copy data to another location. (Share Location)..
    Then i have 2 domain. 1st Domain name is X then 2nd domain name is Y...
    If i login in windows using domain X, i can use the function copy..
    but if i use domain Y, i got error message "logon failure...."..
    So i want give the global username and password (in domain X) in coding if user using the program by domain Y..

    thanks

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” - Martin Fowler