다음을 통해 공유


AudienceManager.IsCurrentUserInAudienceOf Method (AudienceLoader, String, Boolean)

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Shared Function IsCurrentUserInAudienceOf ( _
    audienceLoader As AudienceLoader, _
    audienceTextRepresentation As String, _
    showUntargetedAudience As Boolean _
) As Boolean
'Usage
Dim audienceLoader As AudienceLoader
Dim audienceTextRepresentation As String
Dim showUntargetedAudience As Boolean
Dim returnValue As Boolean

returnValue = AudienceManager.IsCurrentUserInAudienceOf(audienceLoader, _
    audienceTextRepresentation, showUntargetedAudience)
public static bool IsCurrentUserInAudienceOf(
    AudienceLoader audienceLoader,
    string audienceTextRepresentation,
    bool showUntargetedAudience
)

Parameters

Return Value

Type: System.Boolean

See Also

Reference

AudienceManager Class

AudienceManager Members

IsCurrentUserInAudienceOf Overload

Microsoft.Office.Server.Audience Namespace