AccessPolicy.DefinitionStages.WithIdentity<ParentT>.forServicePrincipal 方法

定义

重载

forServicePrincipal(ServicePrincipal servicePrincipal)

Specifies the Active Directory service principal this access policy is for.

forServicePrincipal(String servicePrincipalName)

Specifies the Active Directory service principal this access policy is for.

forServicePrincipal(ServicePrincipal servicePrincipal)

Specifies the Active Directory service principal this access policy is for.

public WithAttach<ParentT> forServicePrincipal(ServicePrincipal servicePrincipal)

参数

servicePrincipal
ServicePrincipal

the AD service principal object

返回

the next stage of access policy definition

forServicePrincipal(String servicePrincipalName)

Specifies the Active Directory service principal this access policy is for.

public WithAttach<ParentT> forServicePrincipal(String servicePrincipalName)

参数

servicePrincipalName
String

the service principal name of the AD user

返回

the next stage of access policy definition

适用于