ConfidentialLedgerModelFactory.LedgerRole Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Definition for roles.
public static Azure.Security.ConfidentialLedger.Models.LedgerRole LedgerRole(string roleName = default, System.Collections.Generic.IEnumerable<string> roleActions = default);
static member LedgerRole : string * seq<string> -> Azure.Security.ConfidentialLedger.Models.LedgerRole
Public Shared Function LedgerRole (Optional roleName As String = Nothing, Optional roleActions As IEnumerable(Of String) = Nothing) As LedgerRole
Parameters
- roleName
- String
name of the user defined role.
- roleActions
- IEnumerable<String>
role actions.
Returns
A new LedgerRole instance for mocking.