DBSHARINGGroupMembershipInfo

@interface DBSHARINGGroupMembershipInfo
    : DBSHARINGMembershipInfo <DBSerializable, NSCopying>

The GroupMembershipInfo struct.

The information about a group 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.

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithAccessType:(nonnull DBSHARINGAccessLevel *)accessType
                 group:(nonnull DBSHARINGGroupInfo *)group
           permissions:(nullable NSArray<DBSHARINGMemberPermission *> *)permissions
              initials:(nullable NSString *)initials
           isInherited:(nullable NSNumber *)isInherited;

    Swift

    init(accessType: DBSHARINGAccessLevel, group: DBSHARINGGroupInfo, permissions: [DBSHARINGMemberPermission]?, initials: String?, isInherited: NSNumber?)

    Parameters

    accessType

    The access type for this member.

    group

    The information about the membership group.

    permissions

    The permissions that requesting user has on this member. The set of permissions corresponds to the MemberActions in the request.

    initials

    Never set.

    isInherited

    True 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
                                         group:(nonnull DBSHARINGGroupInfo *)group;

    Swift

    init(accessType: DBSHARINGAccessLevel, group: DBSHARINGGroupInfo)

    Parameters

    accessType

    The access type for this member.

    group

    The information about the membership group.

    Return Value

    An initialized instance.