IsMemberOfAudience(String, System.Guid) Method

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


AccountNameOrg The account name of the user.

AudienceGuid The globally unique identifier of the audience.

Return Value

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


Exception type Condition
AudienceAccountNameNotResolvedException Exception thrown when the account name string is empty.
AudienceExecutionException SQL execution error


Platforms: Microsoft Windows Server 2003

Security: Code Access Security