Share via


SPListItem.EffectiveBasePermissionsForUI property

Gets the effective base permissions for the current user, as they should be displayed in UI.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property EffectiveBasePermissionsForUI As SPBasePermissions
    Get
'Usage
Dim instance As SPListItem
Dim value As SPBasePermissions

value = instance.EffectiveBasePermissionsForUI
public SPBasePermissions EffectiveBasePermissionsForUI { get; }

Property value

Type: Microsoft.SharePoint.SPBasePermissions
The effective base permissions for the current user.

Remarks

This property differs from the EffectiveBasePermissionsForUI property only if the ReadOnlyUI is set to true on the parent list of the item, and in all cases will be a subset of the EffectiveBasePermissionsForUI property. This EffectiveBasePermissionsForUI property will always be as or more restrictive than the EffectiveBasePermissions property.

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace