Partager via


ISecurityManagement.IsUserInProfile Method

[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

'Usage
Dim instance As ISecurityManagement
Dim profileId As Guid
Dim returnValue As Boolean

returnValue = instance.IsUserInProfile(profileId)

Syntax

'Declaration
Function IsUserInProfile ( _
    profileId As Guid _
) As Boolean
bool IsUserInProfile (
    Guid profileId
)
bool IsUserInProfile (
    Guid profileId
)
boolean IsUserInProfile (
    Guid profileId
)
function IsUserInProfile (
    profileId : Guid
) : boolean

Parameters

  • profileId
    The profile identifier.

Return Value

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ISecurityManagement Interface
ISecurityManagement Members
Microsoft.EnterpriseManagement Namespace