sharepointmossusergroups

Can different users have same USER ID in MOSS 2007


Hi I am just curious to know whether different users can have same user ID in MOSS 2007. I have two SharePoint groups with different set of permission levels. SharePointGroup1 is in root site. The subsite has unique permissions, i.e., it is having SharePointGroup2 with different set of users.

Is there any chance to have same user ID for different users in these two SharePoint Groups?


Solution

  • SPUser.ID is only unique at the site collection level. AFAIK permission inheritance doesn't change how users are stored and id's assigned.

    This can be a little confusing so to clarify you've got

    Web Applications > Site Collections > Sites

    for example :-

    - Web App - Default Site Collection - Site A1 (http://server)
                                        - site A2 (http://server/someweb)
              - Another site Collection - Site B1 (http://server/sites/someweb)
                                        - Site B2 (http://server/sites/someotherweb)
    

    So in this example