D365 Finance & Operations and Dynamics AX Forum

 View Only
  • 1.  What is new way of doing Server Method on Security role in D365

    SILVER CONTRIBUTOR
    Posted 6 days ago
    In AX2012 You used to have the ability to assign the method of a class to the Server Method on a Security role or a Privilege.  How do you do this in D365.  That option isn't available in the tree of security item.

    ------------------------------
    Katrina Breedlove
    0
    Seminole Electric Cooperative
    Tampa
    ------------------------------


  • 2.  RE: What is new way of doing Server Method on Security role in D365

    MICROSOFT MVP
    Posted 3 days ago
    Katrina,

    Just want to clarify what you are trying to accomplish?

    Are you wanting to ensure that a particular method on a class is executed on the server compared to the client?
    Or are you just wanting to be sure that a particular security layer (role/duty/privilege) has access to execute a method?
    Or something else?

    ------------------------------
    Alex Meyer
    Director of Microsoft Software Development
    Fastpath
    Des Moines, IA
    ------------------------------



  • 3.  RE: What is new way of doing Server Method on Security role in D365

    SILVER CONTRIBUTOR
    Posted 2 days ago

    I am wanting to be sure that a particular security layer (role/duty/privilege) has access to execute a method of a class.

     

    Katrina Breedlove

    Systems Analyst
    Seminole Electric Cooperative
    Phone: (813) 405-1662
    Fax:     (813) 264-7906
    Email  
    [email protected]

     






  • 4.  RE: What is new way of doing Server Method on Security role in D365

    MICROSOFT MVP
    Posted 2 days ago
    Katrina,

    You shouldn't need to assign security directly to the method on a class, instead if you assign access to the menu item display, action, or output that calls this method your security layer should have access to execute the method.

    ------------------------------
    Alex Meyer
    Director of Microsoft Software Development
    Fastpath
    Des Moines, IA
    ------------------------------



If you've found this thread useful, dive deeper into User Group community content by role