[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Indicates if the current user is in the provided profile. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As ISecurityManagement
Dim profileId As Guid
Dim returnValue As Boolean

returnValue = instance.IsUserInProfile(profileId)

Syntax

Visual Basic
Function IsUserInProfile ( _
		profileId As Guid _
) As Boolean
C#
bool IsUserInProfile (
		Guid profileId
)
C++
bool IsUserInProfile (
		Guid profileId
)
J#
boolean IsUserInProfile (
		Guid profileId
)
JScript
function IsUserInProfile (
		profileId : Guid
) : boolean

Parameters

profileId

Type: Guid

The profile identifier.

Return Value

Type: Boolean true if the current user is in the profile; otherwise false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also