RoleDefinition.BasePermissions - Propriété
Gets or sets a value that specifies the base permissions for the role definition.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property BasePermissions As BasePermissions
Get
Set
'Utilisation
Dim instance As RoleDefinition
Dim value As BasePermissions
value = instance.BasePermissions
instance.BasePermissions = value
public BasePermissions BasePermissions { get; set; }
Valeur de propriété
Type : Microsoft.SharePoint.Client.BasePermissions
Returns a BasePermissions instance representing the base permissions for the role definition.
Exceptions
Exception | Condition |
---|---|
[System.InvalidOperationException] | Site inherits permission levels from a parent site, and permission levels cannot be customized. Error code: -1. |
Remarques
When assigning values to the property, use bitwise AND, OR, and XOR operators with values from the BasePermissions enumeration.
It must not be une référence Null (Rien dans Visual Basic).