For questions relating to user groups, in a security or permissions context, independent of platform.
Questions tagged [usergroups]
343 questions
10
votes
2 answers
Managing users/roles/groups in FOSUserBundle
I am developing a simple CRUD to manage users/roles/groups of the application in which I am working. To manage users I'm using FOSUserBundle. What I want to do can be accomplished in several ways:
Assigning roles to groups and then assign users to…

ReynierPM
- 17,594
- 53
- 193
- 363
10
votes
2 answers
Difference between user groupId and scopeGroupId
Whats the difference between themeDisplay.getUser().getGroupId() and themeDisplay.getScopeGroupId()?
If I retrieve Layouts (pages) from it, would they have any different URL pattern like, /web-or-user//* or /web-or-user-or-group//*?
I…

Whimusical
- 6,401
- 11
- 62
- 105
9
votes
2 answers
How to add domain user to a group ( docker-users) in Windows 10 Enterprise? Unable to start Docker Windows Desktop
I'm unable to add my username under docker-users group. Since I'm not a local user. My username not listing in Computer Management Users.

Siva Karuppiah
- 995
- 1
- 8
- 17
8
votes
4 answers
Assign User-objects to a Group while editing Group-object in Django admin
In the default Django admin view for user-object (edit user) one can edit the user's group memberships. What if I wanted this the other way around also? I.e. in the group editing page one could select the users that belong to the group being…

Janne
- 833
- 1
- 10
- 18
8
votes
2 answers
Proper way to get groups of a user in linux using C
I want to know if there is any alternate C library for the unix command groups,
$ groups ---- lists all the group id's of the user.
There is a method called getgroups() but it returns the groups of the user this method. Is there a way to get…

Adi GuN
- 1,244
- 3
- 16
- 38
8
votes
4 answers
Security script based on Global Group?
I'm not sure if this is possible, but I'd like to limit my users to specific areas of an Intranet site based on their membership in specific Global Groups created in SQL Server.
For example, I've got the following menu in ASP:

Johnny Bones
- 8,786
- 7
- 52
- 117
8
votes
1 answer
should Django groups and permissions be hard-coded or bootstrapped?
I'm building an app that assumes the existence of certain groups and permissions for its workflow. For example, a "member" can log into the app and view and edit their personal data, but cannot see notes that would typically be displayed on the…

Tony
- 625
- 1
- 6
- 17
7
votes
1 answer
Subquery returning multiple columns - or a close approximation
I have an interesting problem, however I don't know quite how to articulate it better than saying I have a subquery that needs to return multiple columns. PostgreSQL throws an error when I attempt to do this, so while my SQL looks somewhat logically…

rage8885
- 419
- 1
- 8
- 17
7
votes
7 answers
Is there a C# library that behaves like Active Directory's Permissions and Groups?
I like the way permissions and groups work in Active Directory, but I don't want to actually tie my application in with AD.
Is there an existing library out there that contains the same sort of functionality that AD has? In particular, the ability…

Rachel
- 130,264
- 66
- 304
- 490
7
votes
1 answer
Docker run - User group not working as expected?
I have a script that communicates over serial port (/dev/ttyUSB0). I want to run it from within a Docker image. However I don't seem to have permissions to do it from within the image. I follow these steps:
On my host, if I run ln -l /dev/ttyUSB0 I…

user1011113
- 1,114
- 8
- 27
7
votes
5 answers
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…

quux
- 660
- 1
- 10
- 22
7
votes
2 answers
ASP.NET MVC check if user belongs to [x] group
Maybe I'm approaching this the wrong way and should be doing everything in action filters, in which case please point me in the right direction!
I'm setting up my ASP.NET MVC application so that the one HomeController Index action delivers two…

nathanchere
- 8,008
- 15
- 65
- 86
7
votes
4 answers
Create a user-group in linux using python
I want to create a user group using python on CentOS system. When I say 'using python' I mean I don't want to do something like os.system and give the unix command to create a new group. I would like to know if there is any python module that deals…

sharat87
- 7,330
- 12
- 55
- 80
6
votes
1 answer
AWS IAM Groups naming strategy
I'm new to AWS IAM and I was wondering if there is a best practice for naming groups for development and deployment. I search on the internet for some article that recommends a best practices but couldn't find one. One naming strategy and example…

Malvrok
- 369
- 4
- 16
6
votes
3 answers
VB.NET - How to Convert SID to Group Name with Active Directory
Using VB.NET, How do you Convert the sid to Group Name with Active Directory?
example: I need to get "group_test" and not "S-1-5-32-544"
The code I'm using is:
Public ReadOnly Property Groups As IdentityReferenceCollection
Get
Dim irc…

Brian McCarthy
- 4,658
- 16
- 49
- 66