Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProjectSecurity

Hierarchy

Implements

Index

Constructors

constructor

Properties

adminPassword

adminPassword: string

adminUserName

adminUserName: string

adminUserRoleName

adminUserRoleName: string

checkSecurity

checkSecurity: boolean

container

container: StructuralUnit

containerAsProject

containerAsProject: Project

demoUsers

demoUsers: IList<DemoUser>

enableDemoUsers

enableDemoUsers: boolean

enableGuestAccess

enableGuestAccess: boolean

fileDocumentAccess

In version 6.0.0: deprecated

guestUserRoleName

guestUserRoleName: string

id

id: string

imageAccess

In version 6.0.0: deprecated

isLoaded

isLoaded: boolean

model

model: IModel

passwordPolicySettings

passwordPolicySettings: PasswordPolicySettings

securityLevel

securityLevel: SecurityLevel

signInMicroflow

signInMicroflow: IMicroflow | null

signInMicroflowQualifiedName

signInMicroflowQualifiedName: string | null

structureTypeName

structureTypeName: string

unit

unit:

userRoles

userRoles: IList<UserRole>

Static structureTypeName

structureTypeName: string

Static versionInfo

Methods

allProperties

asLoaded

  • asLoaded()
  • Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)

    • If invoked without callback, it checks whether the properties are available or it will throw;
    • If invoked with callback, it will load the data from the server if needed, and then invoke the callback.

delete

  • delete(): void

findElementById

Protected getContainerAs

  • getContainerAs<T>(containerType: any): T

load

  • load(callback: function, forceRefresh?: boolean): void
  • load(forceRefresh?: boolean): Promise
  • Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)

    • If invoked without callback, it checks whether the properties are available or it will throw;
    • If invoked with callback, it will load the data from the server if needed, and then invoke the callback.

    Parameters

    • callback: function
        • (elem: ): void
        • Parameters

          • elem:

          Returns void

    • Optional forceRefresh: boolean

    Returns void

  • Parameters

    • Optional forceRefresh: boolean

    Returns Promise

loadedProperties

publicProperties

toJSON

traverse

  • traverse(visit: function): void

traverseFind

  • traverseFind<T>(visit: function): T | null

traversePublicParts

  • traversePublicParts(visit: function): void

Static createIn

  • Creates a new ProjectSecurity unit in the SDK and on the server. Expects one argument, the projects.IProject in which this unit is contained.

    Parameters

    Returns ProjectSecurity

Generated using TypeDoc