как мне достать User License филд из Юзер обжекта? И могу ли я зесетать другое значение с VF страницы?
SELECT Id, Profile.UserLicense.Name FROM User
No such column 'UserLicense' on entity 'Profile'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
Да ну!!! Я это скопировал из developer console после того как проверил.
А у тебя на орге поддерживаются Profiles? Тип орга случайно не ниже Enterprise?
Для чистоты эксперимента попробуй выполнить запрос на обычном dev org.
А как поменять профайл? Поменять ProfileId?
да :)