Dropbox .NET SDK
Show / Hide Table of Contents

Class LinkAudienceOption

The link audience option object

Inheritance
object
LinkAudienceOption
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class LinkAudienceOption

Constructors

View Source

LinkAudienceOption(LinkAudience, bool, LinkAudienceDisallowedReason)

Initializes a new instance of the LinkAudienceOption class.

Declaration
public LinkAudienceOption(LinkAudience audience, bool allowed, LinkAudienceDisallowedReason disallowedReason = null)
Parameters
Type Name Description
LinkAudience audience

Specifies who can access the link.

bool allowed

Whether the user calling this API can select this audience option.

LinkAudienceDisallowedReason disallowedReason

If allowed is false, this will provide the reason that the user is not permitted to set the visibility to this policy.

Properties

View Source

Allowed

Whether the user calling this API can select this audience option.

Declaration
public bool Allowed { get; protected set; }
Property Value
Type Description
bool
View Source

Audience

Specifies who can access the link.

Declaration
public LinkAudience Audience { get; protected set; }
Property Value
Type Description
LinkAudience
View Source

DisallowedReason

If Allowed is false, this will provide the reason that the user is not permitted to set the visibility to this policy.

Declaration
public LinkAudienceDisallowedReason DisallowedReason { get; protected set; }
Property Value
Type Description
LinkAudienceDisallowedReason
  • View Source
In this article
Back to top Dropbox .NET SDK