[SalesForce] Add New User page does not show “Salesforce” user license in the drop down

When I log into Salesforce UI to add a user, I only see 9 licences in the userlicense drop down. But when I go to the profiles section I can see 23 licenses. Why is that? Based on what criteria does Salesforce populate the license drop down in add user page.

My main issue is that User License drop down in add New User page does not show "Salesforce" user license. Whys is that?

I need to give similar functionality via the Api. Therefore I need to get only licenses/profiles displayed available for add new User.

So far I am using,
var profileQry = await client.QueryAsync("SELECT Description,Id,Name,UserLicenseId FROM Profile");

        var licenseQry = await client.QueryAsync<Object>("SELECT Id,Name,TotalLicenses FROM UserLicense");

QUESTION UPDATED WITH A NEW SCENARIO – 01st Feb 2016

Complete list of User Licenses (Set Up-> Company Profile -> Company Information)
Complete list of User Licenses

List of licenses available for Add new user. (Set Up -> Manage Users -> New User)
Add New User licenses

It's clear that if there are no available license the add new user drop down does not show those license types (as correctly mentioned by Tushar Sharma). But that solves part of the problem.

My updated question (scenario) is,
Why "Salesforce Platform", "Customer Community Login","Authenticated Website" etc. license types not appearing in the "Add new user" drop down even though there are available licenses?

How can I query that list (options available for New User) via the api? (whhat should be the where condition for the following query)

var profileQry = await client.QueryAsync<Profile>("SELECT Description,Id,Name,UserLicenseId FROM Profile");

Highly appreciate any help on this.

Best Answer

Salesforce allows different set of license based on your organizations. For example Developer Edition has only 2 Salesforce User License. In your case you have reached the limit thats why you cannot create user with Same license. You need to purchase new license or deactivate some old user which you are not using and then create new user.

In the quick find search box > Search System Overview. In this screen you will get information of all your available license and consumed license.