Represents an Owner/User/Group that can be given permissions on a bucket or object. More...
#import <S3Grantee.h>
Inherits S3Owner.
Public Member Functions | |
(NSString *) | - toXml |
Returns the XML representation of the grantee. | |
Static Public Member Functions | |
(id) | + granteeWithID:withDisplayName: |
Returns an initialized S3Grantee object representing a CanonicalUser with the specified ID and displayName. | |
(id) | + granteeWithURI: |
Returns an initialized S3Grantee representing a group with the specified URI. | |
(id) | + granteeWithEmailAddress: |
Returns an initialized S3Grantee representing a user with the specified email address. | |
(id) | + allUsers |
Represents the group of all users. | |
(id) | + authenticatedUsers |
Represents the group of authenticated users. | |
Properties | |
NSString * | URI |
Gets and sets the URI property for group grantees. | |
NSString * | emailAddress |
Gets and sets the emailAddress property for user grantees. |
Represents an Owner/User/Group that can be given permissions on a bucket or object.
Use Either ID and displayName (for CanonicalUsers), URI (for Groups), or emailAddress (for Amazon customer email addresses).
+ (id S3Grantee.)granteeWithEmailAddress: | (NSString *) | theEmailAddress |
+ (id S3Grantee.)granteeWithID: | (NSString *) | theID | ||
withDisplayName: | (NSString *) | theDisplayName | ||
+ (id S3Grantee.)granteeWithURI: | (NSString *) | theURI |