SecurityPrincipal Class

Namespace: bcpDevKit.Entities.Configuration
Assembly: bcpDevKit.dll

Syntax

public abstract class SecurityPrincipal

Properties

Type

Name

Description

../../../../_images/prop.ico string

Name

Gets or sets the entity name.

../../../../_images/prop.ico bool

Active

Gets or sets whether the user is active or inactive. Default is true.

../../../../_images/prop.ico SecurityPrincipal.VaultAccess

Access

Possible Values:
- SecurityPrincipal.VaultAccess.NoVaults
- SecurityPrincipal.VaultAccess.AllVaults (Default)
- SecurityPrincipal.VaultAccess.ThisVault

../../../../_images/prop.ico SecurityPrincipal.VaultAuthentication

Authentication

Possible Values:
- SecurityPrincipal.VaultAuthentication.Vault (Default)
- SecurityPrincipal.VaultAuthentication.Windows

../../../../_images/prop.ico IEnumerable<InRoleObject<inroleobject>>

InRoleObject

Gets all the assigned roles.

../../../../_images/prop.ico IEnumerable<InGroupObject<ingroupobject>>

InGroupObject

Gets all the assigned groups.

Methods

Type

Name

Description

../../../../_images/method.ico InRoleObject

AddRole(string roleName)

Creates and adds a new role if no one with the specified name exists.

../../../../_images/method.ico InGroupObject

AddGroup(string groupName)

Creates and adds a new group if no one with the specified name exists.