NoAccess Property
The NoAccess property contains the list of users who are not allowed to access the document.
Property NoAccess As Variant[C++]
Get method:
HRESULT get_NoAccess (VARIANT*pNoAccess);
Put method:
HRESULT put_NoAccess (VARIANTvarNoAccess);
[Visual Basic]
Parameters
None.
Return Values
This property returns a Variant that contains an array of Variants. Each Variant in the array contains a String that contains the list of users that are not allowed to access the document. Defaults to an empty array.
Error Values
If an error is raised, Err.Number is set to one of the values documented on the Error Messages page.
[C++]
Parameters
Get method:
- pNoAccess
[out, retval] Pointer to a VARIANT that contains an array of VARIANTs. Each VARIANT in the array contains a BSTR that contains the name of a user that is not allowed to access the document. Defaults to an empty array.
Put method:
- varNoAccess
[in] VARIANT that contains an array of VARIANTs. Each VARIANT in the array contains a BSTR that contains the name of a user that is not allowed to access the document.
Return Values
For a list of error messages returned by SharePoint Portal Server, see Error Messages.