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 |
---|---|---|
FirstName |
Gets or sets the FirstName. |
|
LastName |
Gets or sets the LastName. |
|
Password |
Gets or sets the Password. |
|
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);