DBTEAMTeamMemberProfile
Objective-C
@interface DBTEAMTeamMemberProfile
    : DBTEAMMemberProfile <DBSerializable, NSCopying>
                Swift
class DBTEAMTeamMemberProfile : DBTEAMMemberProfile, DBSerializable, NSCopying
                The TeamMemberProfile struct.
Profile of a user as a member of a team.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
List of group IDs of groups that the user belongs to.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<NSString *> *_Nonnull groups;Swift
var groups: [String] { get } - 
                  
                  
The namespace id of the user’s root folder.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull memberFolderId;Swift
var memberFolderId: String { get } 
- 
                  
-initWithTeamMemberId:email: emailVerified: status: name: membershipType: groups: memberFolderId: externalId: accountId: secondaryEmails: invitedOn: joinedOn: suspendedOn: persistentId: isDirectoryRestricted: profilePhotoUrl: Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithTeamMemberId:(nonnull NSString *)teamMemberId email:(nonnull NSString *)email emailVerified:(nonnull NSNumber *)emailVerified status:(nonnull DBTEAMTeamMemberStatus *)status name:(nonnull DBUSERSName *)name membershipType:(nonnull DBTEAMTeamMembershipType *)membershipType groups:(nonnull NSArray<NSString *> *)groups memberFolderId:(nonnull NSString *)memberFolderId externalId:(nullable NSString *)externalId accountId:(nullable NSString *)accountId secondaryEmails: (nullable NSArray<DBSECONDARYEMAILSSecondaryEmail *> *) secondaryEmails invitedOn:(nullable NSDate *)invitedOn joinedOn:(nullable NSDate *)joinedOn suspendedOn:(nullable NSDate *)suspendedOn persistentId:(nullable NSString *)persistentId isDirectoryRestricted:(nullable NSNumber *)isDirectoryRestricted profilePhotoUrl:(nullable NSString *)profilePhotoUrl;Swift
init(teamMemberId: String, email: String, emailVerified: NSNumber, status: DBTEAMTeamMemberStatus, name: DBUSERSName, membershipType: DBTEAMTeamMembershipType, groups: [String], memberFolderId: String, externalId: String?, accountId: String?, secondaryEmails: [DBSECONDARYEMAILSSecondaryEmail]?, invitedOn: Date?, joinedOn: Date?, suspendedOn: Date?, persistentId: String?, isDirectoryRestricted: NSNumber?, profilePhotoUrl: String?)Parameters
teamMemberIdID of user as a member of a team.
emailEmail address of user.
emailVerifiedIs true if the user’s email is verified to be owned by the user.
statusThe user’s status as a member of a specific team.
nameRepresentations for a person’s name.
membershipTypeThe user’s membership type: full (normal team member) vs limited (does not use a license; no access to the team’s shared quota).
groupsList of group IDs of groups that the user belongs to.
memberFolderIdThe namespace id of the user’s root folder.
externalIdExternal ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id.
accountIdA user’s account identifier.
secondaryEmailsSecondary emails of a user.
invitedOnThe date and time the user was invited to the team (contains value only when the member’s status matches
invitedinDBTEAMTeamMemberStatus).joinedOnThe date and time the user joined as a member of a specific team.
suspendedOnThe date and time the user was suspended from the team (contains value only when the member’s status matches
suspendedinDBTEAMTeamMemberStatus).persistentIdPersistent ID that a team can attach to the user. The persistent ID is unique ID to be used for SAML authentication.
isDirectoryRestrictedWhether the user is a directory restricted user.
profilePhotoUrlURL for the photo representing the user, if one is set.
Return Value
An initialized instance.
 - 
                  
                  
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype) initWithTeamMemberId:(nonnull NSString *)teamMemberId email:(nonnull NSString *)email emailVerified:(nonnull NSNumber *)emailVerified status:(nonnull DBTEAMTeamMemberStatus *)status name:(nonnull DBUSERSName *)name membershipType:(nonnull DBTEAMTeamMembershipType *)membershipType groups:(nonnull NSArray<NSString *> *)groups memberFolderId:(nonnull NSString *)memberFolderId;Swift
init(teamMemberId: String, email: String, emailVerified: NSNumber, status: DBTEAMTeamMemberStatus, name: DBUSERSName, membershipType: DBTEAMTeamMembershipType, groups: [String], memberFolderId: String)Parameters
teamMemberIdID of user as a member of a team.
emailEmail address of user.
emailVerifiedIs true if the user’s email is verified to be owned by the user.
statusThe user’s status as a member of a specific team.
nameRepresentations for a person’s name.
membershipTypeThe user’s membership type: full (normal team member) vs limited (does not use a license; no access to the team’s shared quota).
groupsList of group IDs of groups that the user belongs to.
memberFolderIdThe namespace id of the user’s root folder.
Return Value
An initialized instance.
 
View on GitHub
        DBTEAMTeamMemberProfile Class Reference