コード例 #1
0
      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;
      }
コード例 #2
0
ファイル: Reference.cs プロジェクト: RoDaniel/featurehouse
 public void FindFirstSpecificiFolderMembersAsync(string domainID, string attributeName, string searchString, iFolderSearchType operation, int count)
 {
     this.FindFirstSpecificiFolderMembersAsync(domainID, attributeName, searchString, operation, count, null);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: RoDaniel/featurehouse
 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);
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: RoDaniel/featurehouse
 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]));
 }