Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

How can I grab user settings in SQL and import into another user account?

Posted on by 2,305

Hello, I have a user that has changed her name. I ended up creating a new username because I could not find an option to change her existing username. Is there a way to grab her user settings in SQL?

*This post is locked for comments

  • Jae Chang Profile Picture
    Jae Chang 2,305 on at
    Re: How can I grab user settings in SQL and import into another user account?

    Thank you much for all your guys/gals/ help!

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: How can I grab user settings in SQL and import into another user account?

    You can write SQL query to insert into using SQL using the select query. Some like

    INSERT INTO < tableName>

    SELECT <Column1>,

    <Column1>,

    …….

    FROM <tableName>

    WHERE <CONDITION>

    Example: If you want to copy data from user ‘sa’ to user ‘DYNSA’ from table SY08000, you can you use following query

    insert into [SY08000]

    SELECT 'DYNSA'          

         ,[DISPHP]

         ,[REFRSHHP]

         ,[User_Role]

    FROM [SY08000] where [USERID]='sa'

    Note: Don’t copy the DEX_ROW_ID column. It is an unique auto generated column. When you insert a row in table a new number is automatically generate

    Rubal,

    http://www.dynamicsgphelp.com/

  • Jae Chang Profile Picture
    Jae Chang 2,305 on at
    Re: How can I grab user settings in SQL and import into another user account?

    Hello the SY08??? tables have USERID, SectionID, SubSectionID, DICTID, SEQNUMBR, VISIBLE, DEX_ROW_ID columns.

    Would I simply copy the old user's rows and somehow insert the new user into these tables and paste over the data? Has anyone done this...? Sorry, I am still a newbie. Thanks for all your help! =)

  • callen Profile Picture
    callen 4,595 on at
    Re: How can I grab user settings in SQL and import into another user account?

    Look in the SY08??? tables in the Dynamics db.

  • Jae Chang Profile Picture
    Jae Chang 2,305 on at
    Re: How can I grab user settings in SQL and import into another user account?

    Hello, thank you for the quick responses. I did look at the SY01400 table and it looks like the font styles, font backrounds, etc are  nearly identical. My question is more with where the home page and shortcuts that I would like to copy. This would be for GP 10.0.

    Would anyone know which table to look for in regards to the shortcuts created?

  • L Vail Profile Picture
    L Vail 65,271 on at
    Re: How can I grab user settings in SQL and import into another user account?

    A good number of user settings live in the SY01400 table, mostly the user preferences. If you also need to copy the home page and shortcuts.

    I know we can copy security from one user to another in 2010 R2, from where can we copy the other settings?

  • callen Profile Picture
    callen 4,595 on at
    Re: How can I grab user settings in SQL and import into another user account?

    The user settings are in SY0140?

    GP 2010 R2 enables you to copy settings from one user to another

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans