Anyone know how to get the name of the server that authenticated your login using C#?
In this case it would be an Active Directory domain... Any ideas?
Thanks,
fsX
It works fine for me too... but I want the program to run a little smoother and show the security tab right from the start; instead of clicking the security tab...
Don't want to confuse the end user....
fsX
Hi TripleB,
Thats not true...
On Windows servers by default you will always see the security tab, on Windows XP you need to remove 'Use simple file sharing' from Windows Explorer to see it.......
fsX
I gave it a try and this API won't do the trick...
You can only preform these functions on a folder/file:
edit - Launches an editor and opens the document for editing.
find - Initiates a search starting from the specified directory.
open - Launches an application. If this file is not an executable file, its associated application is launched.
print - Prints the document file.
properties - Displays the object's properties.
fsX
Hello all,
Anyone know how to open the security window on a file?
That's when you right click on a file and select Properties/Security...
I'm trying to do this using C# and I can't find any references.... :confused: :confused: :confused:
Thx,
fsX
Hello all,
Was wondering if anyone can give me an idea on how I could monitor when users login/logoff to a domain or local server (not using the event log).
Can i do this with using API?
I don't want to use login scripts.
Please help.
Thx.
Hello,
Having a tough time reading a binary registry value and converting to string char value:
byte[] bytes = null;
try
{
bytes = (byte[])tempkey.GetValue(valueName);
for (int i=0; i<bytes.Length; i++)
stringbytes = (stringbytes + bytes);
}
I get this - 65048050000
The regkey has this - 41 00 30 00 32 00 00 00 A 0 2
I need this - A 0 2 (as A02) and also the hex values.
:confused:
Can anyone please help...
Thx fsX