AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the person being granted permissions.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.S3Grantee

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class S3Grantee

The S3Grantee type exposes the following members

Constructors

NameDescription
Public Method S3Grantee()

Properties

NameTypeDescription
Public Property CanonicalUser System.String

Gets and sets the property CanonicalUser.

The canonical user ID of the grantee.

Public Property DisplayName System.String

Gets and sets the property DisplayName.

Screen name of the grantee.

Public Property EmailAddress System.String

Gets and sets the property EmailAddress.

Email address of the grantee.

Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:

  • US East (N. Virginia)

  • US West (N. California)

  • US West (Oregon)

  • Asia Pacific (Singapore)

  • Asia Pacific (Sydney)

  • Asia Pacific (Tokyo)

  • Europe (Ireland)

  • South America (São Paulo)

For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.

Public Property Type Amazon.S3.GranteeType

Gets and sets the property Type.

Type of grantee

Public Property URI System.String

Gets and sets the property URI.

URI of the grantee group.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.7.2 or higher.

NameDescription
Public Method GranteeTypeGetter()

custom getter for Type

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer