Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

SPWeb.Roles Deprecated

$
0
0
If SPWeb.Roles is deprecated in favor of SPWeb.RoleDefinitions how do you preform the equivalent of this?
site.Roles["Restricted Read"].AddUser("i:0#.w|DOMAIN\\" + u.UserID, "test@mmmail.com", "Display Name", "some NoteS");

 


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>