Class MemberProfile
Basic member profile.
Inherited Members
Namespace: Dropbox.Api.Team
Assembly: Dropbox.Api.dll
Syntax
public class MemberProfile
Constructors
| Improve this Doc View SourceMemberProfile(String, String, Boolean, TeamMemberStatus, Name, TeamMembershipType, String, String, IEnumerable<SecondaryEmail>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, String)
Initializes a new instance of the MemberProfile class.
Declaration
public MemberProfile(string teamMemberId, string email, bool emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType, 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 |
---|---|---|
System.String | teamMemberId | ID of user as a member of a team. |
System.String | Email address of user. |
|
System.Boolean | 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). |
System.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. |
System.String | accountId | A user's account identifier. |
System.Collections.Generic.IEnumerable<SecondaryEmail> | secondaryEmails | Secondary emails of a user. |
System.Nullable<System.DateTime> | invitedOn | The date and time the user was invited to the team (contains value only when the member's status matches TeamMemberStatus.Invited). |
System.Nullable<System.DateTime> | joinedOn | The date and time the user joined as a member of a specific team. |
System.Nullable<System.DateTime> | suspendedOn | The date and time the user was suspended from the team (contains value only when the member's status matches TeamMemberStatus.Suspended). |
System.String | persistentId | Persistent ID that a team can attach to the user. The persistent ID is unique ID to be used for SAML authentication. |
System.Nullable<System.Boolean> | isDirectoryRestricted | Whether the user is a directory restricted user. |
System.String | profilePhotoUrl | URL for the photo representing the user, if one is set. |
Properties
| Improve this Doc View SourceAccountId
A user's account identifier.
Declaration
public string AccountId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Email address of user.
Declaration
public string Email { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
EmailVerified
Is true if the user's email is verified to be owned by the user.
Declaration
public bool EmailVerified { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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.
Declaration
public string ExternalId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
InvitedOn
The date and time the user was invited to the team (contains value only when the member's status matches TeamMemberStatus.Invited).
Declaration
public DateTime? InvitedOn { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
IsDirectoryRestricted
Whether the user is a directory restricted user.
Declaration
public bool? IsDirectoryRestricted { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
JoinedOn
The date and time the user joined as a member of a specific team.
Declaration
public DateTime? JoinedOn { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
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).
Declaration
public TeamMembershipType MembershipType { get; protected set; }
Property Value
Type | Description |
---|---|
TeamMembershipType |
Name
Representations for a person's name.
Declaration
public Name Name { get; protected set; }
Property Value
Type | Description |
---|---|
Name |
PersistentId
Persistent ID that a team can attach to the user. The persistent ID is unique ID to be used for SAML authentication.
Declaration
public string PersistentId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
ProfilePhotoUrl
URL for the photo representing the user, if one is set.
Declaration
public string ProfilePhotoUrl { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
SecondaryEmails
Secondary emails of a user.
Declaration
public IList<SecondaryEmail> SecondaryEmails { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<SecondaryEmail> |
Status
The user's status as a member of a specific team.
Declaration
public TeamMemberStatus Status { get; protected set; }
Property Value
Type | Description |
---|---|
TeamMemberStatus |
SuspendedOn
The date and time the user was suspended from the team (contains value only when the member's status matches TeamMemberStatus.Suspended).
Declaration
public DateTime? SuspendedOn { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
TeamMemberId
ID of user as a member of a team.
Declaration
public string TeamMemberId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |