Class SharingSettings
Defines a SharingSettings object
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class SharingSettings : BaseModel, IProvisioningTemplateDescendant
Constructors
SharingSettings()
Declaration
public SharingSettings()
Properties
AllowedDomainList
Defines a comma separated list of allowed domains for sharing. It is considered if and only if SharingDomainRestrictionMode=AllowList.
Declaration
public List<String> AllowedDomainList { get; }
Property Value
List<String>
|
BlockedDomainList
Defines a comma separated list of blocked domains for sharing. It is considered if and only if SharingDomainRestrictionMode=BlockList.
Declaration
public List<String> BlockedDomainList { get; }
Property Value
List<String>
|
DefaultSharingLinkType
Defines the default type of a sharing link
Declaration
public SharingLinkType DefaultSharingLinkType { get; set; }
Property Value
SharingLinkType
|
FileAnonymousLinkType
Defines the permissions for anonymous links for files
Declaration
public AnonymousLinkType FileAnonymousLinkType { get; set; }
Property Value
AnonymousLinkType
|
FolderAnonymousLinkType
Defines the permissions for anonymous links for folders
Declaration
public AnonymousLinkType FolderAnonymousLinkType { get; set; }
Property Value
AnonymousLinkType
|
PreventExternalUsersFromResharing
Defines whether external users are allowed to reshare the content
Declaration
public bool PreventExternalUsersFromResharing { get; set; }
Property Value
System.Boolean
|
RequireAcceptingAccountMatchInvitedAccount
Defines whether invited external users need to use the same account used as the target for the invite
Declaration
public bool RequireAcceptingAccountMatchInvitedAccount { get; set; }
Property Value
System.Boolean
|
RequireAnonymousLinksExpireInDays
Number of days before expiration of anonymous sharing links
Declaration
public int RequireAnonymousLinksExpireInDays { get; set; }
Property Value
System.Int32
|
SharingCapability
Configures the sharing capability for the tenant
Declaration
public SharingCapability SharingCapability { get; set; }
Property Value
SharingCapability
|
SharingDomainRestrictionMode
Defines domains restrictions for sharing
Declaration
public SharingDomainRestrictionMode SharingDomainRestrictionMode { get; set; }
Property Value
SharingDomainRestrictionMode
|
Methods
Equals(SharingSettings)
Compares SharingSettings object based on SharingCapability, RequireAnonymousLinksExpireInDays, FileAnonymousLinkType, FolderAnonymousLinkType, DefaultSharingLinkType, PreventExternalUsersFromResharing RequireAcceptingAccountMatchInvitedAccount, SharingDomainRestrictionMode, AllowedDomainList, and BlockedDomainList
Declaration
public bool Equals(SharingSettings other)
Parameters
SharingSettings
other
SharingSettings Class object |
Returns
System.Boolean
true if the SharingSettings object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with SharingSettings class
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents SharingSettings |
Returns
System.Boolean
Checks whether object is SharingSettings class |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |