Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
General Reference
Extending Search
Protocol Handlers
Interfaces
IUrlAccessor
 GetSecurityDescriptor
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
GetSecurityDescriptor Method

Gets the security descriptor for the item.

HRESULT GetSecurityDescriptor(
BYTE *pSD,
DWORD dwSize,
DWORD *pdwLength
);

Parameters

pAccessor

[out] Pointer to the byte that contains information about the security descriptor for the content source.

dwSize

[in] DWORD representing the size of the pSD byte.

pdwLength

[out] Pointer to the DWORD that contains the number of bytes written to psD, not including NULL.

If successful, returns S_OK, otherwise it returns an error value. For a list of error messages returned by Enterprise Search in Microsoft Office SharePoint Server 2007, see Protocol Handler Error Messages.

Use this method to retrieve the security information associated with the content item. Enterprise Search results security trimming is applied at query time, so only security for read access to the content item is of interest here.

If you do not implement this method, security trimming is not applied, so the content item can be included in search results for any user's related query.

Security descriptor emitted by this method must be self relative.

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