예제 #1
0
 /// <summary>
 /// Builds a domain consisting of the names of the system groups to which the current
 /// user can assign a job.
 /// </summary>
 /// <param name="wmxDb">A reference to the active Workflow Manager database</param>
 /// <returns>A coded value domain as an IGPDomain</returns>
 public static IGPDomain BuildAssignableGroupsDomain(IJTXDatabase3 wmxDb)
 {
     return(WmauGpDomainBuilder.BuildAssignableGroupsDomain(
                wmxDb,
                ESRI.ArcGIS.JTXUI.ConfigurationCache.GetCurrentSystemUser(ESRI.ArcGIS.JTXUI.ConfigurationCache.UseUserDomain),
                null));
 }
예제 #2
0
 /// <summary>
 /// Builds a domain consisting of the names of the system groups to which a
 /// user can assign a job.
 /// </summary>
 /// <param name="wmxDb">A reference to the active Workflow Manager database</param>
 /// <param name="username">The name of the user to be tested</param>
 /// <returns>A coded value domain as an IGPDomain</returns>
 public static IGPDomain BuildAssignableGroupsDomain(IJTXDatabase3 wmxDb, string username)
 {
     return(WmauGpDomainBuilder.BuildAssignableGroupsDomain(wmxDb, username, null));
 }