SPWeb.Groups Vs SPWeb.SiteGroups

SPWeb.Groups returns collection of cross-site groups which has some permission on the site. So if you add group from a site without any permission on the site, then this group wont appear in SPWeb.Groups collection, but it will appear in SPWeb.SiteGroups collection.



Comments

Popular posts from this blog

Email content to a document library (MOSS 2007)

Power Apps - Restricting the Text Box only Whole Numbers

Power Apps toPower Automate Error - The input body for trigger 'manual' of type 'Request' did not match its schema definition , the input String does not validate against the date