IsMemberOfAudience(String, String) Method

The IsMemberOfAudience method of the AudienceManager class determines whether a user is a member of a specified audience.

Parameters

AccountNameOrg   The account name of the user.

AudienceName   The name of the audience.

Return Value

true if the specified user is a member of the specified audience; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security