Share via


Principal Constructors

Definition

Overloads

Principal()

Initializes a new instance of the Principal class.

Principal(String, String)

Initializes a new instance of the Principal class.

Principal()

Initializes a new instance of the Principal class.

public Principal ();
Public Sub New ()

Applies to

Principal(String, String)

Initializes a new instance of the Principal class.

public Principal (string id = default, string type = default);
new Microsoft.Azure.Management.Authorization.Models.Principal : string * string -> Microsoft.Azure.Management.Authorization.Models.Principal
Public Sub New (Optional id As String = Nothing, Optional type As String = Nothing)

Parameters

id
String

Object ID of the Azure AD principal (user, group, or service principal) to which the deny assignment applies. An empty guid '00000000-0000-0000-0000-000000000000' as principal id and principal type as 'Everyone' represents all users, groups and service principals.

type
String

Type of object represented by principal id (user, group, or service principal). An empty guid '00000000-0000-0000-0000-000000000000' as principal id and principal type as 'Everyone' represents all users, groups and service principals.

Applies to