Share via


ISecurityManagement.IsUserInProfile Method

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ISecurityManagement Interface
ISecurityManagement Members
Microsoft.EnterpriseManagement Namespace