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

定义

重载

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.

forUser(ActiveDirectoryUser user)

Specifies the Active Directory user this access policy is for.

public WithAttach<ParentT> forUser(ActiveDirectoryUser user)

参数

user
ActiveDirectoryUser

the AD user object

返回

the next stage of access policy definition

forUser(String userPrincipalName)

Specifies the Active Directory user this access policy is for.

public WithAttach<ParentT> forUser(String userPrincipalName)

参数

userPrincipalName
String

the user principal name of the AD user

返回

the next stage of access policy definition

适用于