AudienceLoader.IsUserMemberOfGlobalAudience Method
Determines whether the current user is a member of the specified global audience.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function IsUserMemberOfGlobalAudience ( _
guid As String _
) As Boolean
'Usage
Dim instance As AudienceLoader
Dim guid As String
Dim returnValue As Boolean
returnValue = instance.IsUserMemberOfGlobalAudience(guid)
public bool IsUserMemberOfGlobalAudience(
string guid
)
Parameters
guid
Type: System.StringThe String object represents the ID of the global audience and is used to check whether the current user is a member.
Return Value
Type: System.Boolean
true if the current user is a member of the specified global audience; otherwise, false.
Remarks
This method determines whether the current user is a member of the specified global audience.