Example of use GetRolesForUser();
<p>I need to check in conditional logic if a user has more that one role associated.
Script should work like:
If a user has 1 role CODE OK
If a user has more that 1 role CODE ERROR</p>

<p>The method is
GetRolesForUser();</p>

<p>But I do not know how to use it, could you please give me a sample of code? how to implement it, arrays?</p>

<p>Thanks guys</p>
