• RE: An Error occurred while i trying to create users using .net API

    Solved this issue.

    createUser.DbName  length  must be less than to the 8 characters.
     

  • RE: An Error occurred while i trying to create users using .net API

  • An Error occurred while i trying to create users using .net API

    Hello,

    An error occurred while I was attempting to create users, as shown below.

    500 Internal Server Error (Error while inserting into table 'DWUser'.
    Exception : String or binary data would be truncated.
    The statement has been terminated.)

    Code :- 

     public static User CreateUser(Organization org, DocuwareUsersViewModel lvm)
            {
                    NewUser createUser = new NewUser();
                    createUser.DbName = lvm.USERNAME;
                    createUser.Name = lvm.USERNAME;
                    createUser.Email =lvm.EMAIL;
                    createUser.NetworkId = "";
                    createUser.Password = lvm.PASSWORD;

                    return org.PostToUserInfoRelationForUser(createUser);
            }

    Thank you.

    Thanuja

  • Get user list,Role,Group using .net

    <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>