Show / Hide Table of Contents

Interface IUser

Represents an IAM user.

Inherited Members
IIdentity.AddManagedPolicy(IManagedPolicy)
IIdentity.AttachInlinePolicy(Policy)
IPrincipal.AddToPolicy(PolicyStatement)
IPrincipal.AddToPrincipalPolicy(PolicyStatement)
IPrincipal.AssumeRoleAction
IPrincipal.PolicyFragment
IPrincipal.PrincipalAccount
IGrantable.GrantPrincipal
IResource.ApplyRemovalPolicy(RemovalPolicy)
IResource.Env
IResource.Stack
IConstruct.Node
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.AWS.IAM.dll
Syntax (csharp)
public interface IUser : IIdentity, IPrincipal, IGrantable, IResource, IConstruct, IDependable
Syntax (vb)
Public Interface IUser
    Inherits IIdentity, IPrincipal, IGrantable, IResource, IConstruct, IConstruct, IDependable
Remarks

See: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users.html

Synopsis

Properties

UserArn

The user's ARN.

UserName

The user's name.

Methods

AddToGroup(IGroup)

Adds this user to a group.

Properties

UserArn

The user's ARN.

string UserArn { get; }
Property Value

System.String

Remarks

Attribute: true

UserName

The user's name.

string UserName { get; }
Property Value

System.String

Remarks

Attribute: true

Methods

AddToGroup(IGroup)

Adds this user to a group.

void AddToGroup(IGroup group)
Parameters
group IGroup
Back to top Generated by DocFX