public GroupInfo[] GetChildGroupsByType( Identifier orgUnitId, Identifier groupTypeId ) { GetChildGroupsByTypeRequest request = new GetChildGroupsByTypeRequest() { OrgUnitId = orgUnitId, GroupTypeId = groupTypeId }; GetGroupsResponse response = CallWebService< IOrgUnitManagementServicev1_0, GetChildGroupsByTypeRequest, GetGroupsResponse>( m_service1_0, request, ( s, q ) => s.GetChildGroupsByType( q ) ); return response.ChildOrgUnits; }
/// <remarks/> public void GetChildGroupsByTypeAsync(GetChildGroupsByTypeRequest GetChildGroupsByTypeRequest) { this.GetChildGroupsByTypeAsync(GetChildGroupsByTypeRequest, null); }
/// <remarks/> public void GetChildGroupsByTypeAsync(GetChildGroupsByTypeRequest GetChildGroupsByTypeRequest, object userState) { if ((this.GetChildGroupsByTypeOperationCompleted == null)) { this.GetChildGroupsByTypeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetChildGroupsByTypeOperationCompleted); } this.InvokeAsync("GetChildGroupsByType", new object[] { GetChildGroupsByTypeRequest}, this.GetChildGroupsByTypeOperationCompleted, userState); }
/// <remarks/> public System.IAsyncResult BeginGetChildGroupsByType(GetChildGroupsByTypeRequest GetChildGroupsByTypeRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetChildGroupsByType", new object[] { GetChildGroupsByTypeRequest}, callback, asyncState); }