Partilhar via


SPList.AnonymousPermMask Property

NOTE: This API is now obsolete.

Obsolete. Use the AnonymousPermMask64 property to get or set the base permissions for anonymous users of the list instead. (In Windows SharePoint Services 2.0, the AnonymousPermMask property got or set the permissions for anonymous users of the list.)

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use the AnonymousPermMask64 property instead")> _
Public Property AnonymousPermMask As SPRights
    Get
    Set
'Usage
Dim instance As SPList
Dim value As SPRights

value = instance.AnonymousPermMask

instance.AnonymousPermMask = value
[ObsoleteAttribute("Use the AnonymousPermMask64 property instead")]
public SPRights AnonymousPermMask { get; set; }

Property Value

Type: Microsoft.SharePoint.SPRights
An SPRights value that specifies permissions for the list.

Remarks

The AddListItems, EditListItems, ViewListItems, OpenWeb, and ViewPages rights apply to the anonymous permissions for most lists; only ViewListItems, OpenWeb, and ViewPages apply to the anonymous permissions for document libraries.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace