SimpleAuthorizationInfo.addRoles

Adds (assigns) multiple roles to those associated with the account. If the account doesn't yet have any roles, a new roles collection (a Set) will be created automatically. @param roles the roles to add to those associated with the account.

  1. void addRoles(Collection!(string) roles)
    class SimpleAuthorizationInfo
    void
    addRoles
    (
    Collection!(string) roles
    )
  2. void addRoles(string[] roles)

Meta