{"id":3961,"date":"2019-10-31T11:11:49","date_gmt":"2019-10-31T11:11:49","guid":{"rendered":"https:\/\/staging.txtbox.in\/docs\/salesforce\/?post_type=lsvr_kba&#038;p=3961"},"modified":"2020-04-24T05:19:05","modified_gmt":"2020-04-24T05:19:05","slug":"unable-to-add-users-view-the-correct-number-of-available-licenses","status":"publish","type":"lsvr_kba","link":"https:\/\/staging.txtbox.in\/docs\/salesforce\/knowledge-base\/unable-to-add-users-view-the-correct-number-of-available-licenses\/","title":{"rendered":"Unable to add users\/view the correct number of available licenses"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\"><strong>Issue Scenario<\/strong><\/h3>\n\n\n\n<p>User is unable to add new users or even view the correct number of available licenses.<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\" \/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Possible Causes<\/strong><\/h3>\n\n\n\n<p>\u2022User trying to add licenses may not have access to the License Object.<\/p>\n\n\n\n<p>\u2022User who is being added may not be an active user and their license status may not be set to true.<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\" \/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Solution<\/strong><\/h3>\n\n\n\n<p>Follow the given procedure to resolve the issue:<\/p>\n\n\n\n<p>1.Verify that the user who is adding licenses has access to the License object (smagicinteract__License__c).<\/p>\n\n\n\n<p>2.Check the Error Logs object for any entries registered for the issue.<\/p>\n\n\n\n<p>3.Verify that the user being added is an active user and has the license status set to true.<\/p>\n\n\n\n<p>a.To check the license status:<\/p>\n\n\n\n<p>i.On the Developer Console, click Query editor on the panel below.<\/p>\n\n\n\n<p>ii.Type the following code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Select&nbsp;smagicinteract__User__r.name,&nbsp;smagicinteract__Status__c,&nbsp;<br>smagicinteract__User__c,&nbsp;smagicinteract__User__r.IsActive&nbsp;from&nbsp;smagicinteract__License__c&nbsp;<\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/license_query.jpg\" alt=\"\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Issue Scenario User is unable to add new users or even view the correct number of available licenses. Possible Causes \u2022User trying to add licenses may not have access to the License Object. \u2022User who is being added may not be an active user and their license status may not be set to true. Solution [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"lsvr_kba_cat":[495],"lsvr_kba_tag":[520,500],"class_list":["post-3961","lsvr_kba","type-lsvr_kba","status-publish","format-standard","hentry","lsvr_kba_cat-permission-licensing-issues","lsvr_kba_tag-unable-to-add-users-view-the-correct-number-of-available-licenses","lsvr_kba_tag-troubleshooting"],"_links":{"self":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/3961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/comments?post=3961"}],"version-history":[{"count":1,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/3961\/revisions"}],"predecessor-version":[{"id":3962,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/3961\/revisions\/3962"}],"wp:attachment":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/media?parent=3961"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_cat?post=3961"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_tag?post=3961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}