This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Switches this user to the given UserRole.
Namespace: Smartsite.Security
Assembly: Smartsite.Security (in Smartsite.Security.dll)
Syntax
C# | Copy Code |
---|---|
public void SwitchRole( newRole ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Sub SwitchRole ( _ newRole As _ ) |
Parameters
- newRole
- UserRole
See Also
UserProfile Class
Smartsite.Security Namespace