MemberProfile
public class MemberProfile : CustomStringConvertible, JSONRepresentable
Basic member profile.
-
ID of user as a member of a team.
Declaration
Swift
public let teamMemberId: String
-
External 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.
Declaration
Swift
public let externalId: String?
-
A user’s account identifier.
Declaration
Swift
public let accountId: String?
-
Email address of user.
Declaration
Swift
public let email: String
-
Is true if the user’s email is verified to be owned by the user.
Declaration
Swift
public let emailVerified: Bool
-
Secondary emails of a user.
Declaration
Swift
public let secondaryEmails: [SecondaryEmails.SecondaryEmail]?
-
The user’s status as a member of a specific team.
Declaration
Swift
public let status: Team.TeamMemberStatus
-
Representations for a person’s name.
Declaration
Swift
public let name: Users.Name
-
The user’s membership type: full (normal team member) vs limited (does not use a license; no access to the team’s shared quota).
Declaration
Swift
public let membershipType: Team.TeamMembershipType
-
The date and time the user was invited to the team (contains value only when the member’s status matches invited in TeamMemberStatus).
Declaration
Swift
public let invitedOn: Date?
-
The date and time the user joined as a member of a specific team.
Declaration
Swift
public let joinedOn: Date?
-
The date and time the user was suspended from the team (contains value only when the member’s status matches suspended in TeamMemberStatus).
Declaration
Swift
public let suspendedOn: Date?
-
Persistent ID that a team can attach to the user. The persistent ID is unique ID to be used for SAML authentication.
Declaration
Swift
public let persistentId: String?
-
Whether the user is a directory restricted user.
Declaration
Swift
public let isDirectoryRestricted: Bool?
-
URL for the photo representing the user, if one is set.
Declaration
Swift
public let profilePhotoUrl: String?
-
Declaration
Swift
public var description: String { get }