Share via


SPAclSecurity<TAccessRightsEnum> members

Represents the security settings for a service application.

The SPAclSecurity<TAccessRightsEnum> type exposes the following members.

Constructors

  Name Description
Public method SPAclSecurity<TAccessRightsEnum> Initializes a new instance of the [SPAclSecurity] class.

Top

Properties

  Name Description
Public property NamedAccessRights Gets the descriptions of the named access rights supported by this security object. (Overrides SPObjectSecurity.NamedAccessRights.)

Top

Methods

  Name Description
Public method AddAccessRule Adds the specified access rule to this security object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAccessRules() Gets a collection of the access rules associated with the security object.
Public method GetAccessRules(Type) Gets a collection of the access rules associated with the security object of a specified type. (Overrides SPObjectSecurity.GetAccessRules(Type).)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method PurgeAccessRules Removes all access rules associated with the security object. (Overrides SPObjectSecurity.PurgeAccessRules().)
Public method RemoveAccessRule Removes access rules that have the same name and access rights as the specified access rule from this security object.
Public method RemoveAccessRuleAll Removes access rules that have the same name as the specified access rule from this security object.
Public method SetAccessRule Adds the specified access rule to this security object, replacing any existing access rules that have the same name as the specified access rule.
Public method ToAcl Returns an [SPAcl] for the security object.
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPAclSecurity<TAccessRightsEnum> class

Microsoft.SharePoint.Administration.AccessControl namespace