Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SystemPrincipalImpl

Implementation of SystemPrincipal

inheritdoc

Hierarchy

  • SystemPrincipalImpl

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new SystemPrincipalImpl(name: string, roles: string[], lockingPrincipal?: undefined | string): SystemPrincipalImpl
  • Create a SystemPrincipalImpl instance

    throws

    a NullValueError if name is null or undefined

    Parameters

    • name: string

      the principal name

    • roles: string[]

      the principal's assigned roles

    • Optional lockingPrincipal: undefined | string

    Returns SystemPrincipalImpl

Properties

Optional Readonly lockingPrincipal

lockingPrincipal: undefined | string

If the principal is locked this will contain the name of the principal that can update the role.

since

6.4

Readonly name

name: string

The principal name

Readonly roles

roles: string[]

The principal's assigned roles

Methods

toString

  • toString(): string
  • Convert object to string

    Returns string

    a string representation of the SystemPrincipalImpl

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.