Поделиться через


CSecurityDesc::FromString

Converts a string-format security descriptor into a valid, functional security descriptor.

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

Параметры

Возвращаемое значение

Returns true on success, false on failure.

Заметки

The string can be created using CSecurityDesc::ToString. Converting the security descriptor into a string makes it easier to store and transmit.

This method is only available with Windows 2000 and later as it calls ConvertStringSecurityDescriptorToSecurityDescriptor.

Требования

Header: atlsecurity.h

См. также

Основные понятия

CSecurityDesc Class

CSecurityDesc Members

ConvertSecurityDescriptorToStringSecurityDescriptor

SECURITY_DESCRIPTOR

CSecurityDesc::ToString