AudienceManager.IsMemberOfAudience AudienceManager.IsMemberOfAudience AudienceManager.IsMemberOfAudience Method

Definition

Overloads

IsMemberOfAudience(String, Guid) IsMemberOfAudience(String, Guid) IsMemberOfAudience(String, Guid)

Determines whether a user is a member of a specified audience.

IsMemberOfAudience(String, String) IsMemberOfAudience(String, String) IsMemberOfAudience(String, String)

Determines whether a user is a member of a specified audience.

IsMemberOfAudience(String, Guid) IsMemberOfAudience(String, Guid) IsMemberOfAudience(String, Guid)

Determines whether a user is a member of a specified audience.

public:
 bool IsMemberOfAudience(System::String ^ AccountNameOrg, Guid AudienceGuid);
public bool IsMemberOfAudience (string AccountNameOrg, Guid AudienceGuid);
Public Function IsMemberOfAudience (AccountNameOrg As String, AudienceGuid As Guid) As Boolean
Parameters
AccountNameOrg
String String String

The account name of the user.

AudienceGuid
Guid Guid Guid

The globally unique identifier of the audience.

Returns

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

IsMemberOfAudience(String, String) IsMemberOfAudience(String, String) IsMemberOfAudience(String, String)

Determines whether a user is a member of a specified audience.

public:
 bool IsMemberOfAudience(System::String ^ AccountNameOrg, System::String ^ AudienceName);
public bool IsMemberOfAudience (string AccountNameOrg, string AudienceName);
Public Function IsMemberOfAudience (AccountNameOrg As String, AudienceName As String) As Boolean
Parameters
AccountNameOrg
String String String

The account name of the user.

AudienceName
String String String

The GUID of the audience.

Returns

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

Applies to