Share via


PrincipalType Struct

Definition

The principal type of the assigned principal ID.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalTypeTypeConverter))]
public struct PrincipalType : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalTypeTypeConverter))>]
type PrincipalType = struct
    interface IArgumentCompleter
Public Structure PrincipalType
Implements IArgumentCompleter, IEquatable(Of PrincipalType)
Inheritance
PrincipalType
Attributes
Implements

Fields

Application
Device
DirectoryObjectOrGroup
DirectoryRoleTemplate
Everyone
ForeignGroup
Group
Msi
ServicePrincipal
Unknown
User

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type PrincipalType (override for Object)

Equals(PrincipalType)

Compares values of enum type PrincipalType

GetHashCode()

Returns hashCode for enum PrincipalType

ToString()

Returns string representation for PrincipalType

Operators

Equality(PrincipalType, PrincipalType)

Overriding == operator for enum PrincipalType

Implicit(PrincipalType to String)

Implicit operator to convert PrincipalType to string

Implicit(String to PrincipalType)

Implicit operator to convert string to PrincipalType

Inequality(PrincipalType, PrincipalType)

Overriding != operator for enum PrincipalType

Applies to