Skip to main content

users

Creates, updates, deletes, gets or lists a users resource.

Overview

Nameusers
TypeResource
Idazure.lab_services.users

Fields

The following fields are returned by SELECT queries:

The request was successful; response contains the lab user.

NameDatatypeDescription
propertiesobjectUser resource properties
systemDataobjectMetadata pertaining to creation and last modification of the user resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectReturns the properties of a lab user.
list_by_labselectReturns a list of all users for a lab.
create_or_updateinsertdata__propertiesOperation to create or update a lab user.
updateupdateOperation to update a lab user.
deletedeleteOperation to delete a user resource.
inviteexecOperation to invite a user to a lab.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples

Returns the properties of a lab user.

SELECT
properties,
systemData
FROM azure.lab_services.users
;

INSERT examples

Operation to create or update a lab user.

INSERT INTO azure.lab_services.users (
data__properties
)
SELECT
'{{ properties }}' /* required */
RETURNING
properties,
systemData
;

UPDATE examples

Operation to update a lab user.

UPDATE azure.lab_services.users
SET
data__properties = '{{ properties }}'
RETURNING
properties,
systemData;

DELETE examples

Operation to delete a user resource.

DELETE FROM azure.lab_services.users
;

Lifecycle Methods

Operation to invite a user to a lab.

EXEC azure.lab_services.users.invite 
@@json=
'{
"text": "{{ text }}"
}'
;