The SharePoint web service usergroup.asmx has two methods to add role definitions to a site collection:
Both have the exact same description: “Adds a role definition to the current site collection.”
Does anybody know if there is a difference between the two? So far, the only difference I see is that AddRoleDef takes a 64 bit unsigned integer as one of the parameters, and AddRole takes a 32 bit unsigned integer.
Hey there, I work for Microsoft and am the PM responsible for permissions management UI in SharePoint vNext.
An ‘SPGroup’ is a ‘Group’ in the UI – a logical group of users or directory groups
SPGroup on MSDN
A ‘role’ is an obsolete term for a ‘Permission Level’ in the UI
SPRole on MSDN
A ‘role definition’ is a ‘Permission Level’ in the UI – a set of ‘permissions’ (‘rights’ programatically) that can be thought of as specific base actions a user can perform eg. add item. Authorization is done against a user’s having been granted these permissions.
SPRoleDefinition on MSDN
History: In SharePoint v2 we had users / directory groups assigned roles (sets of permissions). In SharePoint v3 we introduced SharePoint groups,