SimpleAccount.addRole

Adds a role to this Account's set of assigned roles. Simply delegates to <code>this.authzInfo.addRole(role)</code>.

@param role a role to assign to this Account.

  1. void addRole(string role)
    class SimpleAccount
    void
    addRole
    (
    string role
    )
  2. void addRole(Collection!(string) roles)

Meta