View Single Post
  #1  
Old 02-27-2015, 01:26 PM
 
skit skit is offline
 

Advanced Member
  
Join Date: Feb 2015
Posts: 40
 

Default Working with users/Creating Users external

If you can create a user with the following:

$profile->setLogin('bit-bucket@x-cart.com');
$profile->setPassword(\XLite\Core\Auth::encryptPassword('te ster'));

Is there a way to set the user access level to Admin instead of Customer?

Any help is appreciated.

Thanx
__________________
V5.2.13
Reply With Quote