Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C++
Reference
Libraries Reference
ATL
Classes
CSecurityDesc Class
Methods
 CSecurityDesc::FromString

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
ATL Library Reference 
CSecurityDesc::FromString 

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

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

Parameters

pstr

Pointer to a null-terminated string containing the string-format security descriptor to convert.

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker