Partager via


Profile.HasSingleUserRole Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets a value that indicates whether the profile has a single user role.

Namespace: Microsoft.EnterpriseManagement.Security
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As Profile
Dim value As Boolean

value = instance.HasSingleUserRole

Syntax

'Declaration
Public ReadOnly Property HasSingleUserRole As Boolean
public bool HasSingleUserRole { get; }
public:
property bool HasSingleUserRole {
    bool get ();
}
/** @property */
public boolean get_HasSingleUserRole ()
public function get HasSingleUserRole () : boolean

Property Value

true if the profile has a single user role; otherwise, false.

Remarks

The profile can be used only once in a shipped user role.

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

Profile Class
Profile Members
Microsoft.EnterpriseManagement.Security Namespace