Dela via


Profile.HasSingleUserRole Property

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

Returns Boolean.

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