Class LinkAudienceOption
The link audience option object
Inheritance
System.Object
LinkAudienceOption
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.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class LinkAudienceOption
Constructors
| Improve this Doc View SourceLinkAudienceOption(LinkAudience, Boolean, 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. |
System.Boolean | allowed | Whether the user calling this API can select this audience option. |
LinkAudienceDisallowedReason | disallowedReason | If |
Properties
| Improve this Doc View SourceAllowed
Whether the user calling this API can select this audience option.
Declaration
public bool Allowed { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Audience
Specifies who can access the link.
Declaration
public LinkAudience Audience { get; protected set; }
Property Value
Type | Description |
---|---|
LinkAudience |
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 |