다음을 통해 공유


CSecurityDesc::FromString

보안 설명자 문자열 형식에 유효한, 기능적 보안 설명자로 변환합니다.

bool FromString( 
   LPCTSTR pstr  
) throw(...);

매개 변수

반환 값

성공에 true를 반환 합니다. 실패 시 예외를 throw 합니다.

설명

문자열을 사용 하 여 만들 수 있습니다 CSecurityDesc::ToString. 보안 설명자 문자열로 변환 쉽게 저장 하 고 전송할 수 있습니다.

호출 하기 때문에이 방법만 Windows 2000 및 나중에 사용할 수 있습니다 ConvertStringSecurityDescriptorToSecurityDescriptor.

요구 사항

헤더: atlsecurity.h

참고 항목

참조

CSecurityDesc Class

ConvertSecurityDescriptorToStringSecurityDescriptor

SECURITY_DESCRIPTOR

CSecurityDesc::ToString