66020 members! Sign up to stay informed.

Sponsored Links


Resources

.NET Research Library
Get .NET related white papers, case studies and webcasts

Samples Samples Samples Messages: 0 Messages: 0 Messages: 0 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Who has this right?

Posted by: Keith Brown on April 08, 2004 DIGG
This is just some sample code that tells you which SIDs are assigned a particular user right (privilege or logon right). Here's how you run the thing (you must be an admin to run this): c:\>whohasthisright SeBackupPrivilege S-1-5-32-551 (BUILTIN\Backup Operators) S-1-5-32-544 (BUILTIN\Administrators) You can also specify a flag: /machine machinename if you'd like to get information about the security policy of a different machine, but remember that you must be considered an administrator of that machine for this to work.

http://www.theserverside.net/developmentor/downloads/samples/whoHasThisRight.zip
Recent active threads Recent active threads Recent active threads More More More
PPT to SWF (Flash) and PDF to SWF Conversion in .NET Application
Integrating 3rd Party Single Sign On into SharePoint Portal 2003
[ANN] Agile Cambridge 2010 - October 14-15
Solutions for open source data quality
Talend Appoints Vice President of Corporate Development
We had a fire at work today
How to add barcoding support to ASP.NET Mobile websites (VB.NET
More active threads »
Top posters of the weekTop posters of the weekTop posters of the week
This list contains the members who have made the most posts in all forums over the last 7 days:
  1. aspose seo
  2. Guru Talend
  3. Mark Dalgarno
  4. Jim Thorstad
  5. Sophie Everett
Hot threads Hot threads Hot threads More hot threads More hot threads More hot threads

Eclipse vs. Visual Studio at EclipseCon 2006

Speaking at EclipseCon 2006, Java developer and independent consultant Madhu Siddalingaiah compared Microsoft's Visual Studio IDE to the open source development environment of Eclipse.
(32 comments, last posted December 29, 2007)

Tech Talk: Peter Provost on CAB and Agile development

In this tech talk, Microsoft's Peter Provost talks about the design of the Composite UI Application Block and how the p&p team has led Microsoft in the adoption of Agile methodologies.
(0 comments, last posted April 17, 2006)

Book excerpt: Framework Design Guidelines

Chapter 4 of Framework Design Guidelines, titled "Type Design Guidelines," presents patterns that describe when and how to design classes, constructs and interfaces. In this chapter, Abrams and Cwalina divide types into four groups and discuss the do's and don'ts of type design.
(2 comments, last posted July 07, 2006)

Q&A: Miguel "Mono Man" De Icaza

Paul Ferrill caught up with prime open-source .NET applications driver Miguel De Icaza at Novell's BrainShare conference last week. They discussed the status of Windows Forms for Mono (it's coming along) and VB.NET for Mono (it looks like it's out).
(5 comments, last posted March 30, 2006)

Tech Talk: Jack Greenfield on software factories and DSLs

In this tech talk, Microsoft Visual Studio architect Jack Greenfield discusses the company's approach to Domain-Specific Languages, or DSLs, and the part they play in software factories.
(0 comments, last posted March 15, 2006)
More hot threads »

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
All Content Copyright ©2007 TheServerSide Privacy Policy      Powered by JIVE
Site Map