Thanks for your reply Aaron!
I¨ve also make some tests with examples like yours but in these cases the user who logs in after enrolling with the staging user must already exist in WS1 UEM to get the device assigned (usually an active directory user). I suppose this is your case. Right?
What I'm trying to do is to create a new user in WS1 UEM from within the script , that means that user does not exist previously in WS1, and assign him the device . This is what I understand the option SECURITYTYPE is used for. As I said in my original post , maybe I'm misunderstanding the purpose ot this parameter or there are additional configs in WS1 UEM necessary to achieve this but I don´t find a word about this.
Regards