Share via


Principal Class

Definition

Deny assignment principal.

public class Principal
type Principal = class
Public Class Principal
Inheritance
Principal

Constructors

Principal()

Initializes a new instance of the Principal class.

Principal(String, String)

Initializes a new instance of the Principal class.

Properties

Id

Gets 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

Gets 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