Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPSecurableObject.HasUniqueRoleAssignments property

Indicates whether the object has unique role assignments or inherits its role assignments from a parent object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallablePropertyAttribute(ExcludeFromDefaultRetrieve = true)]
public virtual bool HasUniqueRoleAssignments { get; }

Property value

Type: System.Boolean
true if the role assignments are defined directly on the current object; otherwise false.



If this property returns false, then role assignments are inherited from a parent object. In that case, you can access the FirstUniqueAncestorSecurableObject property to get the object from which the current object inherits role assignments.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.