SyntaxFix
Write A Post
Hire A Developer
Questions
If RoleAssignments is a List<T> you can use the following code.
List<T>
workSpace.RoleAssignments.RemoveAll(x =>x.Member.Name == shortName);