groups

Enumerate Windows user group members on remote system using c#

Within c#, I need to be able to Connect to a remote system, specifying username/password as appropriate List the members of a localgroup on that system Fetch the results back to the executing computer So for example I would connect to \SOMESYSTEM with appropriate creds, and fetch back a list of local administrators including SOMESYST...

Windows / Active Directory - User / Groups

I'm looking for a way to find a the windows login associated with a specific group. I'm trying to add permissions to a tool that only allows names formatted like: DOMAIN\USER DOMAIN\GROUP I have a list of users in active directory format that I need to add: ou=group1;ou=group2;ou=group3 I have tried adding DOMAIN\Group1, but I get a...

Hierarchical Group Permissions Theory/Resources?

Does anyone know of some good resources related to setting up heirarchical user account systems? I'm currently setting one up and am struggling with some of the more complex logic (especially with determining permissions). I was hoping I might be able to find some resources to help me along. Some Background: I'm building a user account ...

What is the best way to add users to multiple groups in a database?

In an application where users can belong to multiple groups, I'm currently storing their groups in a column called groups as a binary. Every four bytes is a 32 bit integer which is the GroupID. However, this means that to enumerate all the users in a group I have to programatically select all users, and manually find out if they contain ...

User Groups Management Implemenation for Desktop Application Question (C#) ?

Hi, I have a desktop Human Resource (HR) application developed in WPF(C#|.NET 3.5) that does some employee management work for the HR,I need to implement user groups based security,meaning that I need to manage users who can access the system(username /password) and also give them CRUD Right and Screen Rights.Is that any basic framework ...

Protected Pages in MediaWiki

I am currently using MediaWiki as a documentation website, with login authenticated by LDAP. However, we have hit a snag. Certain pages contain sensitive information. For example links that say "click here to log in". I would like to be able to protect certain pages from being edited by just anyone. I would like to allow certain grou...

Calculating grand totals from group totals in Reporting Services

I have some data grouped in a table by a certain criteria, and for each group it is computed an average —well, the real case is a bit more tricky— of the values from each of the detail rows that belong to that group. This average is shown in each group footer rows. Let's see this simple example: What I want now is to show a grand tota...

How do I create my own custom group in mediawiki?

Hi, I have been reading carefully through the mediawiki documentation but I have not been able to find out how to create new groups. When I look at Special:Userrights, I see only 3 groups : Bots, Sysops, Bureaycrats I would like to create my own custom groups, so I can use some extensions like the http://www.mediawiki.org/wiki/Exte...

"Most popular" GROUP BY in LINQ?

Assuming a table of tags like the stackoverflow question tags: TagID (bigint), QuestionID (bigint), Tag (varchar) What is the most efficient way to get the 25 most used tags using LINQ? In SQL, a simple GROUP BY will do: SELECT Tag, COUNT(Tag) FROM Tags GROUP BY Tag I've written some LINQ that works: var groups = from t in Dat...

Get a list of members of a WinNT group (C#)

There are a couple of questions similar to this on stack overflow but not quite the same. I want to open, or create, a local group on a win xp computer and add members to it, domain, local and well known accounts. I also want to check whether a user is already a member so that I don't add the same account twice, and presumably get an e...

Regex - Using Groups and MatchCollection - Problems

Hello, I try to keep it brief and concise. I have to write a program that takes queries in SQL form and searches an XML. Right now I am trying to disassemble a string into logical pieces so I can work with them. I have a string as input and want to get a MatchCollection as output. Please not that the test string below is of a special f...

How to get notified about changes on SharePoint groups.

Hi, I'm actual looking for a way to get notified about any changes on a SharePoint group. First I though I would be able to this by attaching a event handler to some kind of group list. But unfortunately there are no such list representing SharePoint groups. My second attempt was to bind a event handler to the content type SharePointG...

Cannot get .NET application to access AD groups across domains

I have a .NET application distributed through ClickOnce. Security within the application is implemented through the WindowsPrincipal.IsInRole(GroupName) method using a set of groups as resources. This structure works well for us for users within the same domain as the groups. Unfortunately we now have users that need to use the applicati...

What's the best professional developer organization or association?

Is there an organization or association which a professional developer should get involved with? There are local .NET user groups, for example, but I'm thinking more about nationally/globally recognized groups which might help one's career or even personal development. Or perhaps even groups which simply provide industry discounts/perks ...

Script or tool to enumerate windows users and groups

I'm auditing an existing Windows 2000 server that's plagued with non-expiring passwords, stray users, and groups pointing to SharePoint and Interdev-created accounts. What's the best way to enumerate each group, display the resource that the group points to (it's show in the description field of Local Users and Groups), and display all ...

Python script to list users and groups

I'm attempting to code a script that outputs each user and their group on their own line like so: user1 group1 user2 group1 user3 group2 ... user10 group6 etc. I'm writing up a script in python for this but was wondering how SO might do this. Thanks! p.s. Take a whack at it in any language but I'd prefer python. EDIT: I'm...

Determine the name of the local Administrators group in Vista

How can I determine the name of the local Administrators group in Vista? This can vary depending on the operating system language. ...

Django users groups

i needed a same funactional: authentificated users can add groups(if have permissions), add users (users added in groups that he create) and add permissions for groups or users. What are the best way for solve that task? ...

OpenSolaris: Remove user from a group from command line

How can I remove a user from a group from the command line in OpenSolaris (2008.11)? I know I can define a user's primary group and a add a user to a group with: usermod -g primarygroup user usermod -G group_list user What's the corresponding command to undo that action and remove a user from the group without just editing /etc/group...

ASP.NET Membership - Which RoleProvider to use so User.IsInRole() checks ActiveDirectory Groups?

Very simple question actually: I currently have IIS anonymous access disabled, users are automatically logged on using their Windows login. However calling User.IsInRole("Role name") returns false. I double-checked User.Identity.Name() and the "Role name" and it should return true. I currently have this in my Web.Config: UPDATE I was ...