ActiveDirectoryMembershipUser.ProviderUserKey 속성

정의

멤버 자격 사용자에 대한 Active Directory 데이터 저장소에서 사용자 ID를 가져옵니다.

public:
 virtual property System::Object ^ ProviderUserKey { System::Object ^ get(); };
public override object ProviderUserKey { get; }
member this.ProviderUserKey : obj
Public Overrides ReadOnly Property ProviderUserKey As Object

속성 값

Object

멤버 자격 사용자에 대한 Active Directory 데이터 저장소에 있는 사용자 ID입니다.

예제

다음 코드 예제는 ProviderUserKey 설명자 정의 SDDL (Security Language) 형식으로 변환 하 여 속성을 SecurityIdentifier 개체입니다. 예제를 실행 하는 데 필요한 전체 코드의 예제 섹션을 참조 하세요.를 ActiveDirectoryMembershipUser 클래스 개요 항목입니다.

System.Security.Principal.SecurityIdentifier sidValue =
  (System.Security.Principal.SecurityIdentifier)user.ProviderUserKey;

sid.Text = sidValue.ToString();
Dim sidValue As System.Security.Principal.SecurityIdentifier
sidValue = CType(user.ProviderUserKey, System.Security.Principal.SecurityIdentifier)

sid.Text = sidValue.ToString()

설명

합니다 ProviderUserKey 멤버 자격으로 일반적으로 형식화 된 데이터 소스에서 식별자를 노출 하는 속성을 object입니다. ProviderUserKey 로 캐스팅 될 수 있는 클래스는 SecurityIdentifier 개체입니다.

적용 대상