Skip to content

User ​

Extends Group

An asset group extends Group to provide more asset specific capabilities.

Static Methods ​

findById(ID) → User ​

Returns a User given its ID.

Returns: User - The user or null if one could not be found.

Parameters:

ParameterTypeDescription
IDStringof the user.

findByName(ID) → User ​

Returns a User given its name.

Returns: User - The user or null if one could not be found.

Parameters:

ParameterTypeDescription
IDStringof the user.

findByAltId(Key, Value) → User ​

Returns a User given an alternate search ID.

Returns: User - The user or null if one could not be found.

Parameters:

ParameterTypeDescription
KeyStringvalue of the alternate ID.
ValueStringmatching the key.

Instance Methods ​

getAssets() → Array ​

Returns an array of Asset objects that are members of this group.

Returns: Array - An array of objects of type Asset.

Workload Automation and Orchestration