From: Glen Holcomb Date: 2007-07-17T05:23:55+09:00 Subject: Re: Strange Segfault ------=_Part_56805_3364016.1184617437168 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Dan, That looks like it should do everything I need. Annoying that GetUserName returns the name of the account that owns the process not the actual account that is logged-in locally, so much for running it as a service. -Glen On 7/16/07, Daniel Berger wrote: > > > > On Jul 16, 8:04 am, "Glen Holcomb" wrote: > > Daniel, > > > > sys-admin looks like it will do what I need however the link ( > http://tinyurl.com/cjkzl) in the documentation on rubyforge is > broken. MSDN > > just throws a 404 page. > > That's because MS insists on moving its documentation every 6 months > in order to make it more Ajaxy and less functional. But I digress... > > Try http://msdn2.microsoft.com/en-us/library/aa746340.aspx and look at > the "properties" section. > > For future searchers if that link is dead just search msdn.com on > "IADsGroup" or "adsi + group". > > Regards, > > Dan > > > -- "Hey brother christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_56805_3364016.1184617437168--