Class DocumentSharingLocation
- Namespace
- Microsoft.Exchange.WebServices.Autodiscover
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents a sharing location.
public sealed class DocumentSharingLocation
- Inheritance
-
DocumentSharingLocation
- Inherited Members
Properties
AnonymousAccessAllowed
Gets a flag indicating whether anonymous users can view documents at the location.
public bool AnonymousAccessAllowed { get; }
Property Value
CanModifyPermissions
Gets a flag indicating whether the user can modify permissions for documents at the location.
public bool CanModifyPermissions { get; }
Property Value
Remarks
This will be true for the user's "My Site," for example. However, documents at team and project sites will typically be ACLed by the site owner, so the user will not be able to modify permissions. This will most likely by false even if the caller is the owner, to avoid surprises. They should go to SharePoint to modify permissions for team and project sites.
DisplayName
Gets the display name of the location.
public string DisplayName { get; }
Property Value
ExternalAccessAllowed
Gets a flag indicating whether external users (outside the enterprise/tenant) can view documents at the location.
public bool ExternalAccessAllowed { get; }
Property Value
IsDefault
Gets a flag indicating whether this location is the user's default location. This will generally be their My Site.
public bool IsDefault { get; }
Property Value
LocationUrl
Gets the URL of the sharing location (for viewing the contents in a web browser).
public string LocationUrl { get; }
Property Value
ServiceUrl
Gets the URL of the web service to use to manipulate documents at the sharing location.
public string ServiceUrl { get; }
Property Value
SupportedFileExtensions
Gets the space-separated list of file extensions that are allowed at the location.
public IEnumerable<string> SupportedFileExtensions { get; }
Property Value
Remarks
Example: "docx pptx xlsx"