Functions Available in the PTC Principal Management Domain
The following function is available in the PTC Principal Management domain:
IsEntitledToLicense()
The function IsEntitledToLicense() checks whether the user is entitled to any of the specified licenses. The input parameter LicenseNames must be provided as a collection. Each license name corresponds to a license feature displayed in the License Management user interface.
The function returns the Boolean value true if the user is entitled to at least one of the specified licenses, else it returns false.
The following is an example of the IsEntitledToLicense() function:
GET /Windchill/servlet/odata/PrincipalMgmt/IsEntitledToLicense(LicenseNames=@p1)?@p1=["ptc_wnc_navigate_author_named","ptc_wnc_ai_named"]
* 
This endpoint cannot be executed from the Swagger API catalog. For information about API catalog, see API Catalog for Windchill REST Services Endpoints.
Refer to the domain EDM for a complete list of functions.
這是否有幫助?