gpt4 book ai didi

dynamics-crm - licensetype 枚举的定义是什么?

转载 作者:行者123 更新时间:2023-12-04 04:04:40 24 4
gpt4 key购买 nike

我们正在努力为我们的端到端日志记录和监控工具 Nodinite 提供有关许可证类型的其他信息。 .我们在识别 LicenceType 枚举的定义时遇到问题?

Microsoft 文档没有为枚举提供任何值:

https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/entities/systemuser#BKMK_UserLicenseType

/// <summary>
/// Type of license, such as Professional, Standard, or Suite.
/// </summary>
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("licensetype")]
public System.Nullable<System.Guid> LicenseType
{
get
{
return this.GetAttributeValue<System.Nullable<System.Guid>>("licensetype");
}
set
{
this.OnPropertyChanging("LicenseType");
this.SetAttributeValue("licensetype", value);
this.OnPropertyChanged("LicenseType");
}
}

这些是 Dynamics 365 (CRM) 实例中用户的唯一值
用户许可证类型:
-1, 3, 6, 7, 11, 20, 30

最佳答案

您可以使用 fetchxml 查询 stringmap XrmToolBox 中的表格 - FetchXML 构建器。检查 caltypeMS documentation . userlicensetype只是被提及为 Edm.Int32 .

您可以从自定义以及 systemuser 实体 - 属性下提取此信息。 userlicensetype只是一个整数 - 可能是在您分配许可证时从 O365 门户填写的。

<fetch>
<entity name="stringmap" >
<attribute name="attributevalue" />
<attribute name="attributename" />
<attribute name="value" />
<filter type="and" >
<condition attribute="objecttypecode" operator="eq" value="8" />
<filter type="and" >
<condition attribute="attributename" operator="eq" value="caltype" />
</filter>
</filter>
</entity>
</fetch>

enter image description here

来自我们 CRM 的有趣数据:

enter image description here

关于dynamics-crm - licensetype 枚举的定义是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54705114/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com