What's all this Security Group stuff anyway?
Posted: Fri Dec 08, 2023 4:48 pm
What is a Security Group
At a high level, groups are collections of users that share the same permissions. The permissions assigned to a group will apply to every user that is a member. Groups can be added to other groups to associated groups of users en masse to enable additional permissions. There is no requirement that groups require any permission changes. Some groups are used by software to enable user functionality by just adding the user to the group.
A security group is an ISecurityIdentity object with basic properties like Name, Description, etc. One difference between Groups and Users is that Groups cannot be disabled (Enabled property always returns true). Also, a group can hold many types of properties that add/remove users and other groups. You can also add Profiles, Workflow Roles, and Positions.
Notes
At a high level, groups are collections of users that share the same permissions. The permissions assigned to a group will apply to every user that is a member. Groups can be added to other groups to associated groups of users en masse to enable additional permissions. There is no requirement that groups require any permission changes. Some groups are used by software to enable user functionality by just adding the user to the group.
A security group is an ISecurityIdentity object with basic properties like Name, Description, etc. One difference between Groups and Users is that Groups cannot be disabled (Enabled property always returns true). Also, a group can hold many types of properties that add/remove users and other groups. You can also add Profiles, Workflow Roles, and Positions.
Notes
- In the thread below, we will demonstrate how to create Select Security Groups and use them. As is usual, we will be omitting the validation steps that should be part of any production code. For example, you should test return types when using filtering operations so you don't add null to a collection.
- Permissions can be set to deny access as well but we will not go into that here. More information is available on-line by starting Select, pressing F1, then searching for security.