+ Start a Discussion
ajay kumar 384ajay kumar 384 

Force user can not create new user ?

ajay kumar 
Force.com App Subscription not create user
I have a community and i was created user with profile  "Force.com App Subscription",

When i login to community then  we have not created new user or update user 
      user user=   [Select IsActive, UserRoleId, UserRole.Name from User   where username ='distributer01@bp.com' ];
update user;
}catch(exception e)

then we getting error

System.DmlException: Update failed. First exception on row 0 with id 0051D000000JA1vQAG; first error: FIELD_INTEGRITY_EXCEPTION

Please tell me force user have permission to create or active decative user ?? we use user object
or give me soluion to setting force user to create user