Compartilhar via


GetSecurityDescriptor Method

The GetSecurityDescriptor method of the IUrlAccessor interface returns the security descriptor for the URL item.

Parameters

pSD    [out, size_is(dwSize)] Pointer to a BYTE that contains information about the security descriptor used for this content source.

dwSize    [in] Pointer to a DWORD that contains the size of the pSD buffer.

pdwLength    [out] Pointer to a DWORD that contains the number of bytes written to the pSD buffer.

Return Value

For a list of error messages returned by Microsoft Office SharePoint Portal Server 2003 protocol handlers, see Protocol Handler Error Messages.

Remarks

The GetSecurityDescriptor method retrieves the security information associated with the URL item. If you do not implement this method, all user queries can retrieve the item. This method also allows custom mappings between users registered to a content source and those users registered on the domain, if they are different. Security descriptors you create in this method must be self-relative.

Requirements

Platforms: Microsoft Windows Server 2003