Autor Beitrag
Metrik
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 80

Win XP, Win Vista
C# (VS 2003, #Develop)
BeitragVerfasst: Mi 04.01.06 12:05 
Hallo

Ist es möglich mit c#-Code an den Benutzergruppen von Windows herumzufummeln?
Wenn ein User in eine neu Gruppe verschoben wird, braucht es dann zuerst eine abmeldung bis Windwos dies anerkennt oder werden die neuen Rechte sofort aktiv?

Ps: Fortsetzung von MakeMeAdmin

Metrik


Moderiert von user profile iconUGrohne: Topic aus Off Topic verschoben am Do 05.01.2006 um 03:04
Xqgene
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 20



BeitragVerfasst: Fr 27.01.06 11:36 
user profile iconMetrik hat folgendes geschrieben:

Ist es möglich mit c#-Code an den Benutzergruppen von Windows herumzufummeln?

Kannst du bitte definieren, was für dich "herumzufummeln" ist?

Zitat:

Wenn ein User in eine neu Gruppe verschoben wird, braucht es dann zuerst eine abmeldung bis Windwos dies anerkennt oder werden die neuen Rechte sofort aktiv?


weiß zwar nicht, was die Frage mit .NET und C# zu tun hat, aber..
man sollte sich schon neu anmelden. wenn sich die Rechte ändern, dann treten die Einschränkungen sofort in Kraft. Sollte man durch die Änderung mehr Rechten bekommen haben, so ist es meistens erst nach Neuanmeldung wirksam

_________________
There are only 10 types of people in the world:
Those who understand Binary and those who don`t.
Metrik Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 80

Win XP, Win Vista
C# (VS 2003, #Develop)
BeitragVerfasst: Fr 27.01.06 20:46 
hallo
ich habe an diesem Thema noch weiter gesucht und bin auf gpupdate (cmd.exe) gestossen.
Vielleicht kann ich damit was machen, denn ich will keine Neuanmeldung durchführen müssen.

Mit "herumfummel" meinte ich, ob ich die User eines Computers mit c#, wenn ich ein Admin bin, in andere Gruppen verscheiben kann.

Metrik
Xqgene
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 20



BeitragVerfasst: Fr 27.01.06 21:57 
ich würde mich an deiner Stelle mit WMI auseinander setzen: msdn.microsoft.com/l...mi/wmi_reference.asp

_________________
There are only 10 types of people in the world:
Those who understand Binary and those who don`t.