Class TeamMemberProfile
Profile of a user as a member of a team.
Inherited Members
Namespace: Dropbox.Api.Team
Assembly: Dropbox.Api.dll
Syntax
public class TeamMemberProfile : MemberProfile
Constructors
View SourceTeamMemberProfile(string, string, bool, TeamMemberStatus, Name, TeamMembershipType, IEnumerable<string>, string, string, string, string, IEnumerable<SecondaryEmail>, DateTime?, DateTime?, DateTime?, string, bool?, string)
Initializes a new instance of the TeamMemberProfile class.
Declaration
public TeamMemberProfile(string teamMemberId, string email, bool emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType, IEnumerable<string> groups, string memberFolderId, string rootFolderId, string externalId = null, string accountId = null, IEnumerable<SecondaryEmail> secondaryEmails = null, DateTime? invitedOn = null, DateTime? joinedOn = null, DateTime? suspendedOn = null, string persistentId = null, bool? isDirectoryRestricted = null, string profilePhotoUrl = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | teamMemberId | ID of user as a member of a team. |
| string | Email address of user. |
|
| bool | emailVerified | Is true if the user's email is verified to be owned by the user. |
| TeamMemberStatus | status | The user's status as a member of a specific team. |
| Name | name | Representations for a person's name. |
| TeamMembershipType | membershipType | The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota). |
| IEnumerable<string> | groups | List of group IDs of groups that the user belongs to. |
| string | memberFolderId | The namespace id of the user's member folder. |
| string | rootFolderId | The namespace id of the user's root folder. |
| string | externalId | 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. |
| string | accountId | A user's account identifier. |
| IEnumerable<SecondaryEmail> | secondaryEmails | Secondary emails of a user. |
| DateTime? | invitedOn | The date and time the user was invited to the team (contains value only when the member's status matches TeamMemberStatus.Invited). |
| DateTime? | joinedOn | The date and time the user joined as a member of a specific team. |
| DateTime? | suspendedOn | The date and time the user was suspended from the team (contains value only when the member's status matches TeamMemberStatus.Suspended). |
| string | persistentId | Persistent ID that a team can attach to the user. The persistent ID is unique ID to be used for SAML authentication. |
| bool? | isDirectoryRestricted | Whether the user is a directory restricted user. |
| string | profilePhotoUrl | URL for the photo representing the user, if one is set. |
Properties
View SourceGroups
List of group IDs of groups that the user belongs to.
Declaration
public IList<string> Groups { get; protected set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
MemberFolderId
The namespace id of the user's member folder.
Declaration
public string MemberFolderId { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
RootFolderId
The namespace id of the user's root folder.
Declaration
public string RootFolderId { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |