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