You need to sign in to do that
Don't have an account?
MY VF and Apex
How to create UserRole with the help of vf page and apex class??
hi all,
can we create User role with the help of vf page and apex??
can we??
if yes then how??
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
hi all,
can we create User role with the help of vf page and apex??
can we??
if yes then how??
You can use this
Add more field as per your need
See this for find fields which are creatable : http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_role.htm
All Answers
You can use this
Add more field as per your need
See this for find fields which are creatable : http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_role.htm
Thanks Shashi....
but once we create user role with the help of this vf page...
then how to assign users to this particular role (because once we create new role after saving it goes to standard role detail page) can we cerate our vf detail page... and if yes then how to assign users through apex mechanism.
thank you once again.
one more thing... u have seen that when we create new role at that time once we save we go to roles detail page...
from there we can assign users for that particular role...
one more button is there to create new user... i dont want this button... that is why i need to use vf and apex...
can i do this??