Dela via


DatabasePrincipal Class

Definition

A class representing database principal entity.

public class DatabasePrincipal
type DatabasePrincipal = class
Public Class DatabasePrincipal
Inheritance
DatabasePrincipal

Constructors

DatabasePrincipal()

Initializes a new instance of the DatabasePrincipal class.

DatabasePrincipal(String, String, String, String, String, String, String)

Initializes a new instance of the DatabasePrincipal class.

Properties

AppId

Gets or sets application id - relevant only for application principal type.

Email

Gets or sets database principal email if exists.

Fqn

Gets or sets database principal fully qualified name.

Name

Gets or sets database principal name.

Role

Gets or sets database principal role. Possible values include: 'Admin', 'Ingestor', 'Monitor', 'User', 'UnrestrictedViewer', 'Viewer'

TenantName

Gets the tenant name of the principal

Type

Gets or sets database principal type. Possible values include: 'App', 'Group', 'User'

Methods

Validate()

Validate the object.

Applies to