CloudVariableDefinition

CloudVariableDefinition

new CloudVariableDefinition($b)

Source:
. Cloud Variable
Parameters:
Name Type Description
$b Object
$b.definitionOwnerId string
$b.subpath string
$b.typeHint string
$b.defaultvalue string
$b.variableOwnerCanRead boolean
$b.variableOwnerCanWrite boolean
$b.anyoneCanRead boolean
$b.anyoneCanWrite boolean

Members

AnyoneCanRead :boolean

Source:
Type:
  • boolean

AnyoneCanWrite :boolean

Source:
Type:
  • boolean

DefaultValue :string

Source:
Type:
  • string

DefinitionOwnerId :string

Source:
Type:
  • string

Subpath :string

Source:
Type:
  • string

TypeHint :string

Source:
Type:
  • string

VariableOwnerCanRead :boolean

Source:
Type:
  • boolean

VariableOwnerCanWrite :boolean

Source:
Type:
  • boolean

Methods

CanRead(variableOwnerId, readerId) → {boolean}

Source:
. Check if the given user can access variables for a given user
Parameters:
Name Type Description
variableOwnerId string Owner user Id
readerId string Who is attempting to access
Returns:
Type
boolean

CanWrite(writerId, variableOwnerId, readerId) → {boolean}

Source:
. Check if the given user can Write to variables for a given user
Parameters:
Name Type Description
writerId
variableOwnerId string Owner user Id
readerId string Who is attempting to access
Returns:
Type
boolean