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)

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