Class RootInfo
Information about current user's root.
Inherited Members
Namespace: Dropbox.Api.Common
Assembly: Dropbox.Api.dll
Syntax
public class RootInfo
Constructors
| Improve this Doc View SourceRootInfo(String, String)
Initializes a new instance of the RootInfo class.
Declaration
protected RootInfo(string rootNamespaceId, string homeNamespaceId)
Parameters
Type | Name | Description |
---|---|---|
System.String | rootNamespaceId | The namespace ID for user's root namespace. It will be the namespace ID of the shared team root if the user is member of a team with a separate team root. Otherwise it will be same as HomeNamespaceId. |
System.String | homeNamespaceId | The namespace ID for user's home namespace. |
Properties
| Improve this Doc View SourceAsTeam
Gets this instance as a TeamRootInfo, or null
.
Declaration
public TeamRootInfo AsTeam { get; }
Property Value
Type | Description |
---|---|
TeamRootInfo |
AsUser
Gets this instance as a UserRootInfo, or null
.
Declaration
public UserRootInfo AsUser { get; }
Property Value
Type | Description |
---|---|
UserRootInfo |
HomeNamespaceId
The namespace ID for user's home namespace.
Declaration
public string HomeNamespaceId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
IsTeam
Gets a value indicating whether this instance is Team
Declaration
public bool IsTeam { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsUser
Gets a value indicating whether this instance is User
Declaration
public bool IsUser { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RootNamespaceId
The namespace ID for user's root namespace. It will be the namespace ID of the shared team root if the user is member of a team with a separate team root. Otherwise it will be same as HomeNamespaceId.
Declaration
public string RootNamespaceId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |