Tag Archives: MS CRM 2011 Team

Fetch team members for selected Team

I got one requirement to get all team members based on team, so I thought to share code here so that it can help other crm developers. you can use below code private EntityCollection GetTeammembers(IOrganizationService _iService,Guid TeamID) { EntityCollection _Teammembers = null; Guid _UserId = Guid.Empty; EntityCollection col = new EntityCollection(); QueryExpression _Query = new QueryExpression(); _Query.EntityName = “systemuser”; _Query.ColumnSet… Read more »