Edit

New-AzConfidentialLedgerAADBasedSecurityPrincipalObject

Create an in-memory object for AADBasedSecurityPrincipal.

Syntax

Default (Default)

New-AzConfidentialLedgerAADBasedSecurityPrincipalObject
    [-LedgerRoleName <String>]
    [-PrincipalId <String>]
    [-TenantId <String>]
    [<CommonParameters>]

Description

Create an in-memory object for AADBasedSecurityPrincipal.

Examples

Example 1: Object creation

New-AzConfidentialLedgerAADBasedSecurityPrincipalObject `
  -LedgerRoleName "Administrator" `
  -PrincipalId "00001111-aaaa-2222-bbbb-3333cccc4444" `
  -TenantId "00001111-aaaa-2222-bbbb-3333cccc4444"
LedgerRoleName PrincipalId                          TenantId
-------------- -----------                          --------
Administrator  00001111-aaaa-2222-bbbb-3333cccc4444 00001111-aaaa-2222-bbbb-3333cccc4444

Creates an AadBasedSecurityPrincipalObject that may be used for Az.ConfidentialLedger commands.

Parameters

-LedgerRoleName

LedgerRole associated with the Security Principal of Ledger.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PrincipalId

UUID/GUID based Principal Id of the Security Principal.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TenantId

UUID/GUID based Tenant Id of the Security Principal.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

AadBasedSecurityPrincipal