setRoles(String[]) method
Sets the roles that are authorized to access the profile.
Syntax
void
setRoles
(
String[]
roles
)
Parameters
roles
– roles that are authorized to access this profile
Exceptions
IllegalStateException
– if called after marked readonly
Created November 9, 2013.
To comment on this topic, go to:
DocCommentXchange
.