Class UserInfo
Basic information about a user. Use GetAccountAsync(GetAccountArg) and GetAccountBatchAsync(GetAccountBatchArg) to obtain more detailed information.
Inherited Members
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class UserInfo
Constructors
View SourceUserInfo(string, string, string, bool, string)
Initializes a new instance of the UserInfo class.
Declaration
public UserInfo(string accountId, string email, string displayName, bool sameTeam, string teamMemberId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | accountId | The account ID of the user. |
| string | Email address of user. |
|
| string | displayName | The display name of the user. |
| bool | sameTeam | If the user is in the same team as current user. |
| string | teamMemberId | The team member ID of the shared folder member. Only
present if |
Properties
View SourceAccountId
The account ID of the user.
Declaration
public string AccountId { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
The display name of the user.
Declaration
public string DisplayName { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Email address of user.
Declaration
public string Email { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
SameTeam
If the user is in the same team as current user.
Declaration
public bool SameTeam { get; protected set; }
Property Value
| Type | Description |
|---|---|
| bool |
TeamMemberId
The team member ID of the shared folder member. Only present if SameTeam is true.
Declaration
public string TeamMemberId { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |