Show / Hide Table of Contents

Class RootInfo

Information about current user's root.

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

Constructors

| Improve this Doc View Source

RootInfo(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 Source

AsTeam

Gets this instance as a TeamRootInfo, or null.

Declaration
public TeamRootInfo AsTeam { get; }
Property Value
Type Description
TeamRootInfo
| Improve this Doc View Source

AsUser

Gets this instance as a UserRootInfo, or null.

Declaration
public UserRootInfo AsUser { get; }
Property Value
Type Description
UserRootInfo
| Improve this Doc View Source

HomeNamespaceId

The namespace ID for user's home namespace.

Declaration
public string HomeNamespaceId { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsTeam

Gets a value indicating whether this instance is Team

Declaration
public bool IsTeam { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsUser

Gets a value indicating whether this instance is User

Declaration
public bool IsUser { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc 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. Otherwise it will be same as HomeNamespaceId.

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

See Also

TeamRootInfo
UserRootInfo
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • RootInfo(String, String)
  • Properties
    • AsTeam
    • AsUser
    • HomeNamespaceId
    • IsTeam
    • IsUser
    • RootNamespaceId
  • See Also
Back to top Generated by DocFX