Share via


Role key

The role key property of the Context object is optional. If supplied, the role specified will be used to choose the policy instance and appropriate behavior options for the method call. If you don't supply a role key, the Dynamics GP service will attempt to find a role for the user and company specified in the context object. If only one role can be found, that role will be used. If more than one role is found, or no roles are found, the default role will be used.