UserObject Class

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

Inheritance Hierarchy

System.Object
bcpDevKit.Configuration.SecurityPrincipal
  bcpDevKit.Entities.Configuration.UserObject

Syntax

public class UserObject : SecurityPrincipal

Properties

Type

Name

Description

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

FirstName

Gets or sets the FirstName.

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

LastName

Gets or sets the LastName.

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

Password

Gets or sets the Password.

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

Email

Gets or sets the Email address.

Examples

Assign user to group:

var security = bcpService.EntitiesTable.Vault.Security;
var user = security.AddUser("Trump");
var group = secutity.AddGroup("Presidents");

user.AddGroup(group.Name);