共用方式為


ServicePrincipalBase Class

Definition

Active Directory service principal common properties shared among GET, POST and PATCH

public class ServicePrincipalBase
type ServicePrincipalBase = class
Public Class ServicePrincipalBase
Inheritance
ServicePrincipalBase
Derived

Constructors

ServicePrincipalBase()

Initializes a new instance of the ServicePrincipalBase class.

ServicePrincipalBase(String, Nullable<Boolean>, IList<KeyCredential>, IList<PasswordCredential>, String, IList<String>)

Initializes a new instance of the ServicePrincipalBase class.

Properties

AccountEnabled

Gets or sets whether or not the service principal account is enabled

AppRoleAssignmentRequired

Gets or sets specifies whether an AppRoleAssignment to a user or group is required before Azure AD will issue a user or access token to the application.

KeyCredentials

Gets or sets the collection of key credentials associated with the service principal.

PasswordCredentials

Gets or sets the collection of password credentials associated with the service principal.

ServicePrincipalType

Gets or sets the type of the service principal

Tags

Gets or sets optional list of tags that you can apply to your service principals. Not nullable.

Applies to