WindowsIdentity.IsSystem 속성

정의

사용자 계정이 시스템에서 System 계정으로 식별되는지 여부를 나타내는 값을 가져옵니다.

public:
 virtual property bool IsSystem { bool get(); };
public virtual bool IsSystem { get; }
member this.IsSystem : bool
Public Overridable ReadOnly Property IsSystem As Boolean

속성 값

Boolean

사용자 계정이 System 계정이면 true이고, 그렇지 않으면 false입니다.

예제

다음 코드에서는 속성을 사용 하 여 IsSystem 사용자 계정이 시스템에서 계정으로 식별 되는지 여부를 나타내는 값을 반환 하는 방법을 보여 줍니다 System . 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 WindowsIdentity 클래스입니다.

if ( windowsIdentity->IsSystem )
{
   propertyDescription = String::Concat( propertyDescription, ", is a System account" );
}
if (windowsIdentity.IsSystem)
{
    propertyDescription += ", is a System account";
}
If (windowsIdentity.IsSystem) Then
    propertyDescription += ", is a System account"
End If

적용 대상