开发者

How to see how many SalesForce licenses of each type are in use from a C# call to SFDC's web service?

开发者 https://www.devze.com 2023-03-20 19:27 出处:网络
We have a C# (winforms) application used for adding new starters to amongst other things AD, Exchange mailbox, sending emails to relevant people to say new starter arrived etc etc.

We have a C# (winforms) application used for adding new starters to amongst other things AD, Exchange mailbox, sending emails to relevant people to say new starter arrived etc etc.

However, I'd like to extend this so that it also, where required, checks 开发者_开发问答SFDC to see if there is a free licence available for their role. If there IS then email SFDC admin to set them up (perhaps later do this in code as well). If not, then notify different department of licence requirement.

Hoping to make a a C# call to the SFDC webservice.

I've looked through the documentation and can't find how to do this.


Open question or not, here's something I think might steer you in the right direction - the UserLicense object

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_userlicense.htm

See also the Profile object, which has a "UserType" field that shows license info

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_profile.htm

I've not dabbled with the API (yet!) but I'd imagine that it is possible to enumerate collections of Users and/or Profiles


You just asked how to deal with a proprietary product unrelated to any of the topics this site covers (namely, anything programming-related). See https://stackoverflow.com/faq

You should contact their customer service, if their online docs are insufficient.

http://www.salesforce.com/services-training/customer-support/

0

精彩评论

暂无评论...
验证码 换一张
取 消