AccessPolicy.DefinitionStages.WithIdentity<ParentT> 接口

定义

The access policy definition stage allowing the Active Directory identity to be specified.

public interface WithIdentity<ParentT>

类型参数

ParentT

the stage of the parent definition to return to after attaching this definition

方法

forGroup(ActiveDirectoryGroup activeDirectoryGroup)

Specifies the Active Directory group this access policy is for.

forObjectId(String objectId)

Specifies the object ID of the Active Directory identity this access policy is for.

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.

forUser(ActiveDirectoryUser user)

Specifies the Active Directory user this access policy is for.

forUser(String userPrincipalName)

Specifies the Active Directory user this access policy is for.

适用于