你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TargetingContext Interface

public interface TargetingContext

Interface for the Targeting Context used in evaluating the `Microsoft.TargetingFilter`.

Method Summary

Modifier and Type Method and Description
abstract List<String> getGroups()

Return the groups

abstract String getUserId()

Return the userId

abstract void setGroups(List<String> groups)

Set the groups

abstract void setUserId(String userId)

Set the userId

Method Details

getGroups

public abstract List getGroups()

Return the groups

Returns:

the groups

getUserId

public abstract String getUserId()

Return the userId

Returns:

the userId

setGroups

public abstract void setGroups(List groups)

Set the groups

Parameters:

groups - the groups to set

setUserId

public abstract void setUserId(String userId)

Set the userId

Parameters:

userId - the userId to set

Applies to