library
turbot/teams
- Add Team Member
- Assign Licenses to User
- Create Channel
- Create Chat
- Create Team
- Create Teamwork Tag
- Create Teamwork Tag Member
- Create User
- Delete Channel
- Delete Channel Message
- Delete Chat Message
- Delete Group
- Delete Message
- Delete Teamwork Tag
- Delete Teamwork Tag Member
- Get Channel
- Get Current User
- Get Message
- Get Team
- Get Teamwork Tag
- Get Teamwork Tag Member
- Get User by Email
- List Channels
- List Chats
- List Messages
- List Team Members
- List Teams
- List Teamwork Tag Members
- List Teamwork Tags
- List Users
- Remove Team Member
- Reply Channel Message
- Send Channel Message
- Send Chat Message
- Send Mail
- Test Create Channel
- Test Create Team
- Test Reply Channel Message
- Test Send Channel Message
- Test Send Chat Message
- Test Update Channel
- Test Update Channel Message
- Test Update Chat Message
- Test Update Team
- Update Channel
- Update Channel Message
- Update Chat Message
- Update Team
- Update Teamwork Tag
Get Involved
Version
Create User
Create a new user.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run teams.pipeline.create_user \ --arg 'display_name=<string>' \ --arg 'account_enabled=<bool>' \ --arg 'mail_nickname=<string>' \ --arg 'user_principal_name=<string>' \ --arg 'password=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = teams.pipeline.create_user args = { display_name = <string> account_enabled = <bool> mail_nickname = <string> user_principal_name = <string> password = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
display_name | string | Yes | The name to display in the address book for the user. | - |
account_enabled | bool | Yes | If the account is enabled then true; otherwise, false. | - |
mail_nickname | string | Yes | The mail alias for the user. | - |
user_principal_name | string | Yes | The user principal name (someuser@contoso.com). | - |
password | string | Yes | The password for the user. | - |
Outputs
Name | Description |
---|---|
user | The created user. |