RolesAreInherited Property
The RolesAreInherited property contains the flag that indicates whether the folder inherits role settings from the parent folder.
Property RolesAreInherited As Boolean[C++]
Get method:
HRESULT get_RolesAreInherited(VARIANT_BOOL*pRolesAreInherited);
Put method:
HRESULT put_RolesAreInherited(VARIANT_BOOLvarRolesAreInherited);
[Visual Basic]
Parameters
None.
Return Values
This property returns a Boolean that contains the flag that indicates whether roles are inherited.
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:
- pRolesAreInherited
[out, retval] Pointer to a VARIANT_BOOL that contains the flag that indicates whether roles are inherited.
Put method:
- varRolesAreInherited
[in] VARIANT_BOOL that contains the flag that indicates whether roles are inherited.
Return Values
For a list of error messages returned by SharePoint Portal Server, see Error Messages.
Remarks
If the RolesAreInherited property is VARIANT_TRUE, the roles set on the parent folder are applied to items created in this folder. When this property is VARIANT_FALSE, the default roles for the workspace are applied to the new folder.