投稿済み Fri, 21 Oct 2022 06:42:56 GMT 、投稿者 Thanuja Samarawickrama
<gdiv id="ginger-floatingG-container" style="position: absolute; top: 0px; left: 0px;"><gdiv class="ginger-floatingG ginger-floatingG-closed ginger-floatingG-posdown ginger-floatingG-dirty" style="left: 915px; top: 111px; z-index: 51;"><gdiv class="ginger-floatingG-disabled-main"><gdiv class="ginger-floatingG-bar-tool-tooltip">Enable Ginger</gdiv></gdiv><gdiv class="ginger-floatingG-offline-main"><gdiv class="ginger-floatingG-bar-tool-tooltip"><em>Cannot connect to Ginger</em> Check your internet connection<br> or reload the browser</gdiv></gdiv><gdiv class="ginger-floatingG-enabled-main"><gdiv class="ginger-floatingG-bar"><gdiv class="ginger-floatingG-bar-tool ginger-floatingG-bar-tool-disable"><ga></ga><gdiv class="ginger-floatingG-bar-tool-tooltip">Disable in this text field</gdiv></gdiv><gdiv class="ginger-floatingG-bar-tool ginger-floatingG-bar-tool-rephrase ginger-floatingG-bar-tool-rephrase_small-circle"><ga class="ginger-floatingG-bar-tool-rephrase__btn" id="ginger__floatingG-bar-tool-rephrase__btn">Rephrase</ga><gdiv class="ginger-floatingG-bar-tool-tooltip ginger-floatingG-bar-tool-tooltip_rephrase">Rephrase current sentence</gdiv></gdiv><gdiv class="ginger-floatingG-bar-tool ginger-floatingG-bar-tool-mistakes"><ga><span class="ginger-floatingG-bar-tool-mistakes-count">3</span></ga><gdiv class="ginger-floatingG-bar-tool-tooltip">Edit in Ginger</gdiv></gdiv></gdiv></gdiv><gdiv class="ginger-floatingG-contentPopup" style="display: none;"><gdiv class="ginger-floatingG-contentPopup-wrap"><ga class="ginger-floatingG-contentPopup-close">×</ga><gdiv class="ginger-floatingG-contentPopup-frame"><iframe scrolling="no"></iframe></gdiv></gdiv></gdiv></gdiv></gdiv><gdiv class="ginger-module-highlighter ginger-module-highlighter-float" style="background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255); position: absolute; height: 140px; width: 924px;"><gdiv class="ginger-module-highlighter-float-content" style="height: 280px;"><gwmw class="ginger-module-highlighter-mistake-type-6 gwmw-16663344172674726298612 gwmwi-0 ginger-module-highlighter-mistake-anim" style="position: absolute; top: 92px; width: 3.89062px; height: 18px; left: 30.2344px;"></gwmw><gwmw class="ginger-module-highlighter-mistake-type-1 gwmw-16663344172679228858342 gwmwi-0 ginger-module-highlighter-mistake-anim no-suggestion" style="position: absolute; top: 92px; width: 198.438px; height: 18px; left: 34.1094px;"></gwmw><gwmw class="ginger-module-highlighter-mistake-type-6 gwmw-16663344850559674189464 gwmwi-0 ginger-module-highlighter-mistake-anim" style="position: absolute; top: 92px; width: 20.2344px; height: 18px; left: 10px;"></gwmw></gdiv></gdiv> Dear Team,<br> <br> I want to retrieve the system's user list with their roles and groups as a one list using .net application.<br> I tried this.<br> <strong>org.GetGroupsFromGroupsRelation.</strong> It&nbsp;will&nbsp;only&nbsp;return&nbsp;user&nbsp;names.<br> Is it possible to make one? <grammarly-desktop-integration data-grammarly-shadow-root="true"></grammarly-desktop-integration><gdiv class="ginger-module-correctionBubble" style="z-index: 11; padding: 0px; top: 104px; left: 10px; display: none;"><gdiv class="ginger-module-correctionBubble-container ginger-module-correctionBubble-container-loggedout" style="display: none;"><gdiv class="ginger-module-correctionBubble-login">Log in</gdiv><gdiv class="ginger-module-correctionBubble-body">for free to continue using Ginger.</gdiv></gdiv><gdiv class="ginger-module-correctionBubble-container ginger-module-correctionBubble-container-loggedin"><gdiv class="ginger-module-correctionBubble-limited">Limited mode</gdiv><gdiv class="ginger-module-correctionBubble-body"><gwbm class="ginger-module-correctionBubbleService-mistake-type-6" id="gwbm-16663343422678297337877">Look<gwbmo><ga class="ginger-module-correctionBubbleService-mistake-bubble-approve" title="Approve the Suggestion"></ga><ga class="ginger-module-correctionBubbleService-mistake-bubble-ignore" title="Ignore the Suggestion"></ga></gwbmo></gwbm></gdiv><ga class="ginger-module-correctionBubble-close" href="javascript:" title="Ignore mistake">×</ga></gdiv></gdiv>
投稿済み Sat, 29 Oct 2022 00:00:39 GMT 、投稿者 Matthias Wieland Senior Director Support EMEA
Dear Thanuja Samarawickrama! It looks like the Community cannot answer your question. That's why we have opened a Support Request with the Number SR-189163-X5Z0S for you. A Software Support Specialist will contact you directly to follow up. We will update this thread with the solution as soon as we have resolved the Support Request. With best regards, DocuWare Support Team
投稿済み Tue, 08 Nov 2022 09:18:45 GMT 、投稿者 Alex Fouquet Technician Software Support
Dear Thanuja,
 
It is possible to retrieve a list of all users containing their name, roles and groups.
With the fallowing code example, this can be achieved:
 
var org = conn.Organizations[0];
 
var users = org.GetUsersFromUsersRelation();
foreach(var curentUser in users.User)
{
    Console.WriteLine(curentUser.Name);
    Groups groups = curentUser.GetGroupsFromGroupsRelation();
    foreach(var currentGroup in groups.Item)
    {
        Console.WriteLine("The name of the group: " + currentGroup.Name);
    }
    Roles roles = curentUser.GetRolesFromRolesRelation();
    foreach(var currentRole in roles.Item)
    {
      Console.WriteLine("The name of the role:" + currentRole.Name);
    }
    Console.WriteLine("");
}
Please note that we are getting the UsersRelation over the organization.
 
For further questions, please don't hesitate to ask.

Best regards
Alex

フォーラムに投稿するためにはログインが必要です。