Свойство RoleDefinition.BasePermissions
Gets or sets a value that specifies the base permissions for the role definition.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Property BasePermissions As BasePermissions
Get
Set
'Применение
Dim instance As RoleDefinition
Dim value As BasePermissions
value = instance.BasePermissions
instance.BasePermissions = value
public BasePermissions BasePermissions { get; set; }
Значение свойства
Тип: Microsoft.SharePoint.Client.BasePermissions
Returns a BasePermissions instance representing the base permissions for the role definition.
Исключения
Исключение | Условие |
---|---|
[System.InvalidOperationException] | Site inherits permission levels from a parent site, and permission levels cannot be customized. Error code: -1. |
Замечания
When assigning values to the property, use bitwise AND, OR, and XOR operators with values from the BasePermissions enumeration.
It must not be пустая ссылка (Nothing в Visual Basic).