Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

how can i set two role centers for one user?

Posted on by Microsoft Employee

Hi All,

how can i set two role centers for one user in navision 2015?

in my warehouse two locations are there so for one location one rolecenter and another for second role center .

these two role centers i mean ids can access one  user it is possible?

any advice please....

*This post is locked for comments

  • Krupesh Profile Picture
    Krupesh on at
    RE: how can i set two role centers for one user?

    Agreed Natalie. It's a simple and easy to implement solution

  • Krupesh Profile Picture
    Krupesh on at
    RE: how can i set two role centers for one user?

    That's a good one. Agreed.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how can i set two role centers for one user?

    but those ideas seem to require you to log out of NAV and then back in.

    Is there no way to just change roles while logged into NAV?

    don't get me started on having to re-navigate to where you were if you need to change companies.  If I'm in GL Chart in one company and need to open another company to check the GL balance in that company, I need to navigate my way to the screen I was in in the previous company, and then if I want to go back to that previous company and check a balance...

    I waste more time retracing paths than in any other program I've ever used. 

    I think I've posted before, the reason it's called NAV is because you're constantly navigating somewhere else.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how can i set two role centers for one user?

    hi All,

    Thanks For the Replies and i checked this link 1clickfactory.com/.../select-role-center-on-nav-2009-rtc-startup.aspx

    as practically it works fine and i need to follow suresh post also.

  • Verified answer
    RE: how can i set two role centers for one user?

    Per each requested role center, you can create a seperate NAV shortcut on the user's desktop, using the parameter: -profile:PROFILEID

    Starting the Windows Client at the Command Prompt

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: how can i set two role centers for one user?

    I have tried my code in NAV 2013 R2 and it worked, not sure earlier versions but i am sure it should work on 2013 R2 and above.

  • Suggested answer
    4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: how can i set two role centers for one user?

    Hi Ramesh,

    There are 2 matters:

    1. User and Location: it is permission or filter story between User and Location, what Locations can a User work or see. Try to customize system independent with Role Center. You can refer to Employee Warehouse concept of standard system.

    2. A user starts NAV Client with Profile selection: it was requirement of my Customer, and also from my Consultant Team in testing Profiles for Customers. We tried Surest's way, but it didn't work (may be it work in latest version as Surest mentioned). So we decided to develop NAV Client Starter to prevent customizing system and utilize startup parameter feature of NAV Client Starter:

     1_2D00_5_2D00_2016-9_2D00_17_2D00_19-AM.png

    Alternately, you can use Windows Shortcuts (a Window Shortcut for each Profile).

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: how can i set two role centers for one user?

    Ramesh,

    Try create a new table with ID, User ID, and Profile ID and then use that to assign multiple profiles for one user.

    Then in the codeunit LoginManagement (40) in the LoginStart function add the code to find all the profile ID of the user from the new table and then based on that create a text separated by comma with profile names so that you can use that text in the STRMENU function to display which provides the options for the user to select the profile once selected , you can modify the user personalization  record.

    I have not created a separate table but just tested in this way and it works. If i get time in next couple of days i will try to create a blog on this.

    Selection := STRMENU(Text100,1); // i have not used the selection just to show you

    UserPersonalization.SETRANGE("User ID",USERID);

    IF UserPersonalization.FINDFIRST THEN BEGIN

     IF Selection <> 0 THEN BEGIN

       Profile.SETRANGE(Profile."Role Center ID",9001);

       IF Profile.FINDFIRST THEN;

       UserPersonalization."Profile ID" := Profile."Profile ID";

       UserPersonalization.MODIFY;

       COMMIT;

     END;

    END;

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how can i set two role centers for one user?

    I have been told (repeatedly) that what you (and I) want isn't possible without modification.

     

    Would be really nice to just have a row of role center buttons across the top, just under the ribbon, so that a user could pick the relevant role/hat to use at any time during the day.  It would really be nice if you're setting up other users, or if you're covering for other users due to vacation, sick time, or maternity leave.

     

    This whole Role Tailored Client idea is bogus, in my opinion.  It's good for huge companies with 1,000's of employees who only do one thing, all day long.  I thought NAV was aimed at small-to-midsized companies...the kinds of companies where employees wear many hats during the day.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how can i set two role centers for one user?

    This is like shared tables and view but after having a detailed read of your description i don't think you mean what I'm talking about. What your asking for is going to be a modification to the system, but i have seen somewhere about creating your own role so maybe could combine two together. Why do you want them to see two roles? Couldn't you just add the shortcuts and table views to one role?

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans