mergeRoles
Call Signature
Given two AccountRoles, will return the AccountRole that grants the highest privileges of both.
Parameters
Parameter | Type |
---|---|
roleA | WRITABLE |
roleB | READONLY_SIGNER |
Returns
Example
Call Signature
Given two AccountRoles, will return the AccountRole that grants the highest privileges of both.
Parameters
Parameter | Type |
---|---|
roleA | READONLY_SIGNER |
roleB | WRITABLE |
Returns
Example
Call Signature
Given two AccountRoles, will return the AccountRole that grants the highest privileges of both.
Parameters
Parameter | Type |
---|---|
roleA | AccountRole |
roleB | WRITABLE_SIGNER |
Returns
Example
Call Signature
Given two AccountRoles, will return the AccountRole that grants the highest privileges of both.
Parameters
Parameter | Type |
---|---|
roleA | WRITABLE_SIGNER |
roleB | AccountRole |
Returns
Example
Call Signature
Given two AccountRoles, will return the AccountRole that grants the highest privileges of both.
Parameters
Parameter | Type |
---|---|
roleA | AccountRole |
roleB | READONLY_SIGNER |
Returns
Example
Call Signature
Given two AccountRoles, will return the AccountRole that grants the highest privileges of both.
Parameters
Parameter | Type |
---|---|
roleA | READONLY_SIGNER |
roleB | AccountRole |
Returns
Example
Call Signature
Given two AccountRoles, will return the AccountRole that grants the highest privileges of both.
Parameters
Parameter | Type |
---|---|
roleA | AccountRole |
roleB | WRITABLE |
Returns
Example
Call Signature
Given two AccountRoles, will return the AccountRole that grants the highest privileges of both.
Parameters
Parameter | Type |
---|---|
roleA | WRITABLE |
roleB | AccountRole |
Returns
Example
Call Signature
Given two AccountRoles, will return the AccountRole that grants the highest privileges of both.
Parameters
Returns
Example
Call Signature
Given two AccountRoles, will return the AccountRole that grants the highest privileges of both.
Parameters
Parameter | Type |
---|---|
roleA | AccountRole |
roleB | AccountRole |