Pass List of Strings to Java method -
i have question how use java method boolean[] hasroles(list<string> roleidentifiers).
how can send list of strings?
the method returns boolean[] not boolean error complaining how use result
list<string> data = ...; if (currentuser.hasroles(data)) // not work boolean[] if not boolean you need check element of boolean[]
one alternative check hasallroles return boolean or check specific roles interested in index.
Comments
Post a Comment