Lists.GetListItems form the Lists Web Service returns a ows_PermMask attribute (16 character hexadecimal) for each list item.
Anyone know how this attribute maps to the user's permissions or where the meaning of this attribute is documented?
Lists.GetListItems form the Lists Web Service returns a ows_PermMask attribute (16 character hexadecimal) for each list item.
Anyone know how this attribute maps to the user's permissions or where the meaning of this attribute is documented?
This site should offer you a little more detail:
http://mdasblog.wordpress.com/2009/02/03/permmask-in-sharepoint-dvwps/
It is just a built in field containing the permissions required:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbuiltinfieldid.permmask.aspx
This link also provides some good detail on PermMask:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/c16aa8e4-672b-4241-a88c-6a421000e00f/setting-itemlevel-permissions-through-sharepoints-builtin-webservices?forum=sharepointdevelopmentlegacy
From the comments in that post:
"Using the PermissionMask is only for the current user... which is likely an admin user anyway which will have the permission PermMask="0x7fffffffffffffff"... this is useless for most use cases of finding what users and groups have access to the item / document."
The PermMask is very interesting stuff in SharePoint. The value of PermMask is hexadecimal. It is 16 digit (e.g 0x0000XXXXXXXX0000).
The minimum value is 0x0000000000000000 for no permission and maximum value is 0x7FFFFFFFFFFFFFFF for full permission (Basically site collection administrator).
[Bit Level Reservation of PermMask][1]
[PermMask ListItemPermissions for edit item][2]