Dynamics crm 按类型筛选用户
我正在尝试从Dynamics 365 CRM的视图中排除应用程序用户。提取xml非常简单:Dynamics crm 按类型筛选用户,dynamics-crm,dynamics-365,fetchxml,Dynamics Crm,Dynamics 365,Fetchxml,我正在尝试从Dynamics 365 CRM的视图中排除应用程序用户。提取xml非常简单: <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> <entity name="systemuser"> <attribute name=&quo
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="systemuser">
<attribute name="fullname" />
<attribute name="businessunitid" />
<attribute name="title" />
<attribute name="address1_telephone1" />
<attribute name="positionid" />
<attribute name="systemuserid" />
<order attribute="fullname" descending="false" />
<filter type="and">
<condition attribute="type" operator="ne" value="App User" />
</filter>
</entity>
</fetch>
我需要在我的查询中放置一个过滤器,如seudo代码:
,这是一个允许我按用户类型进行过滤的字段。是否有任何字段可以确定地说用户是应用程序用户?通常,非交互式应用程序用户将使用系统用户实体中的属性访问模式=4创建。所以这应该行得通
<condition attribute="accessmode" operator="ne" value="4" />