SecurityPrincipal Class
Namespace: bcpDevKit.Entities.Configuration
Assembly: bcpDevKit.dll
Syntax
public abstract class SecurityPrincipal
Properties
Type |
Name |
Description |
---|---|---|
Name |
Gets or sets the entity name. |
|
Active |
Gets or sets whether the user is active or inactive. Default is true. |
|
Access |
Possible Values: |
|
Authentication |
Possible Values: |
|
InRoleObject |
Gets all the assigned roles. |
|
InGroupObject |
Gets all the assigned groups. |
Methods
Type |
Name |
Description |
---|---|---|
AddRole(string roleName) |
Creates and adds a new role if no one with the specified name exists. |
|
AddGroup(string groupName) |
Creates and adds a new group if no one with the specified name exists. |