Skip to content

Associate User

licensemanagerusersubscriptions_associate_user R Documentation

Associates the user to an EC2 instance to utilize user-based subscriptions

Description

Associates the user to an EC2 instance to utilize user-based subscriptions.

Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.

Usage

licensemanagerusersubscriptions_associate_user(Domain, IdentityProvider,
  InstanceId, Username)

Arguments

Domain

The domain name of the user.

IdentityProvider

[required] The identity provider of the user.

InstanceId

[required] The ID of the EC2 instance, which provides user-based subscriptions.

Username

[required] The user name from the identity provider for the user.

Value

A list with the following syntax:

list(
  InstanceUserSummary = list(
    AssociationDate = "string",
    DisassociationDate = "string",
    Domain = "string",
    IdentityProvider = list(
      ActiveDirectoryIdentityProvider = list(
        DirectoryId = "string"
      )
    ),
    InstanceId = "string",
    Status = "string",
    StatusMessage = "string",
    Username = "string"
  )
)

Request syntax

svc$associate_user(
  Domain = "string",
  IdentityProvider = list(
    ActiveDirectoryIdentityProvider = list(
      DirectoryId = "string"
    )
  ),
  InstanceId = "string",
  Username = "string"
)