public bool FindFirstSpecificiFolderMembers( string domainID, string attributeName, string searchString, iFolderSearchType operation, int count, out string searchContext, out iFolderUser[] memberList, out int totalMembers ) { Member[] tempList; bool moreEntries = DomainProvider.FindFirstDomainMembers( domainID, attributeName, searchString, ( Simias.Storage.SearchOp )Enum.ToObject( typeof( Simias.Storage.SearchOp ), operation ), count, out searchContext, out tempList, out totalMembers ); if ( ( tempList != null ) && ( tempList.Length > 0 ) ) { Domain domain = Store.GetStore().GetDomain( domainID ); memberList = new iFolderUser[ tempList.Length ]; for ( int i = 0; i < tempList.Length; ++i ) { memberList[ i ] = new iFolderUser( domain, tempList[ i ] ); } } else { memberList = null; } return moreEntries; }
public void FindFirstSpecificiFolderMembersAsync(string domainID, string attributeName, string searchString, iFolderSearchType operation, int count) { this.FindFirstSpecificiFolderMembersAsync(domainID, attributeName, searchString, operation, count, null); }
public void FindFirstSpecificiFolderMembersAsync(string domainID, string attributeName, string searchString, iFolderSearchType operation, int count, object userState) { if ((this.FindFirstSpecificiFolderMembersOperationCompleted == null)) { this.FindFirstSpecificiFolderMembersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindFirstSpecificiFolderMembersOperationCompleted); } this.InvokeAsync("FindFirstSpecificiFolderMembers", new object[] { domainID, attributeName, searchString, operation, count}, this.FindFirstSpecificiFolderMembersOperationCompleted, userState); }
public bool FindFirstSpecificiFolderMembers(string domainID, string attributeName, string searchString, iFolderSearchType operation, int count, out string searchContext, out iFolderUser[] memberList, out int totalMembers) { object[] results = this.Invoke("FindFirstSpecificiFolderMembers", new object[] { domainID, attributeName, searchString, operation, count}); searchContext = ((string)(results[1])); memberList = ((iFolderUser[])(results[2])); totalMembers = ((int)(results[3])); return ((bool)(results[0])); }