DBSHARINGUserMembershipInfo
Objective-C
@interface DBSHARINGUserMembershipInfo
    : DBSHARINGMembershipInfo <DBSerializable, NSCopying>
                Swift
class DBSHARINGUserMembershipInfo : DBSHARINGMembershipInfo, DBSerializable, NSCopying
                The UserMembershipInfo struct.
The information about a user member of the shared content.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
The account information for the membership user.
Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGUserInfo *_Nonnull user;Swift
var user: DBSHARINGUserInfo { get } 
- 
                  
                  
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithAccessType:(nonnull DBSHARINGAccessLevel *)accessType user:(nonnull DBSHARINGUserInfo *)user permissions: (nullable NSArray<DBSHARINGMemberPermission *> *)permissions initials:(nullable NSString *)initials isInherited:(nullable NSNumber *)isInherited;Swift
init(accessType: DBSHARINGAccessLevel, user: DBSHARINGUserInfo, permissions: [DBSHARINGMemberPermission]?, initials: String?, isInherited: NSNumber?)Parameters
accessTypeThe access type for this member. It contains inherited access type from parent folder, and acquired access type from this folder.
userThe account information for the membership user.
permissionsThe permissions that requesting user has on this member. The set of permissions corresponds to the MemberActions in the request.
initialsNever set.
isInheritedTrue if the member has access from a parent folder.
Return Value
An initialized instance.
 - 
                  
                  
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithAccessType: (nonnull DBSHARINGAccessLevel *)accessType user:(nonnull DBSHARINGUserInfo *)user;Swift
init(accessType: DBSHARINGAccessLevel, user: DBSHARINGUserInfo)Parameters
accessTypeThe access type for this member. It contains inherited access type from parent folder, and acquired access type from this folder.
userThe account information for the membership user.
Return Value
An initialized instance.
 
View on GitHub
        DBSHARINGUserMembershipInfo Class Reference