Just “quick and dirty” public static void ChangePermissions(SPSecurableObject subject, SPPrincipal principal, SPRoleType roleType) {     SPRoleDefinition roleDefinition = null;     SPRoleAssignment roleAssignment = subject.RoleAssignments.GetAssignmentByPrincipal(principal);     if (roleAssignment != null && subject != null) ...

Read More