Skip to content

Register to Work Mail

workmail_register_to_work_mail R Documentation

Registers an existing and disabled user, group, or resource for WorkMail use by associating a mailbox and calendaring capabilities

Description

Registers an existing and disabled user, group, or resource for WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable.

Users can either be created by calling the create_user API operation or they can be synchronized from your directory. For more information, see deregister_from_work_mail.

Usage

workmail_register_to_work_mail(OrganizationId, EntityId, Email)

Arguments

OrganizationId

[required] The identifier for the organization under which the user, group, or resource exists.

EntityId

[required] The identifier for the user, group, or resource to be updated.

The identifier can accept UserId, ResourceId, or GroupId, or Username, Resourcename, or Groupname. The following identity formats are available:

  • Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234

  • Entity name: entity

Email

[required] The email for the user, group, or resource to be updated.

Value

An empty list.

Request syntax

svc$register_to_work_mail(
  OrganizationId = "string",
  EntityId = "string",
  Email = "string"
)