Dropbox .NET SDK
Show / Hide Table of Contents

Class RootInfo

Information about current user's root.

Inheritance
object
RootInfo
TeamRootInfo
UserRootInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Common
Assembly: Dropbox.Api.dll
Syntax
public class RootInfo

Constructors

View Source

RootInfo(string, string)

Initializes a new instance of the RootInfo class.

Declaration
protected RootInfo(string rootNamespaceId, string homeNamespaceId)
Parameters
Type Name Description
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, or the user root if user is member of a team with separate distinct roots for users. Otherwise it will be the same as HomeNamespaceId.

string homeNamespaceId

The namespace ID for user's home namespace.

Properties

View Source

AsTeam

Gets this instance as a TeamRootInfo, or null.

Declaration
public TeamRootInfo AsTeam { get; }
Property Value
Type Description
TeamRootInfo
View Source

AsUser

Gets this instance as a UserRootInfo, or null.

Declaration
public UserRootInfo AsUser { get; }
Property Value
Type Description
UserRootInfo
View Source

HomeNamespaceId

The namespace ID for user's home namespace.

Declaration
public string HomeNamespaceId { get; protected set; }
Property Value
Type Description
string
View Source

IsTeam

Gets a value indicating whether this instance is Team

Declaration
public bool IsTeam { get; }
Property Value
Type Description
bool
View Source

IsUser

Gets a value indicating whether this instance is User

Declaration
public bool IsUser { get; }
Property Value
Type Description
bool
View Source

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, or the user root if user is member of a team with separate distinct roots for users. Otherwise it will be the same as HomeNamespaceId.

Declaration
public string RootNamespaceId { get; protected set; }
Property Value
Type Description
string

See Also

TeamRootInfo
UserRootInfo
  • View Source
In this article
Back to top Dropbox .NET SDK