SPAppPrincipalPermissionsManager members

Manages permissions for SharePoint Web app principals.

The SPAppPrincipalPermissionsManager type exposes the following members.

Constructors

  Name Description
Public method SPAppPrincipalPermissionsManager Initializes a new instance of the SPAppPrincipalPermissionsManager class for a given Web.

Top

Methods

  Name Description
Public method AddAppPrincipalToList Grants the app principal access to a list.
Public method AddAppPrincipalToSite Grants the app principal access to the site collection.
Public method AddAppPrincipalToWeb Grants the Web app access to the Web using the specified SPAppPrincipal object and SPAppPrincipalPermissionKind object.
Public method AddSiteSubscriptionContentPermission Grants the app principal access to all content within the site subscription.
Public method AddSiteSubscriptionPermission(SPAppPrincipal, Guid, SPAppPrincipalPermissionKind) Grants the app principal access to a site subscription-scoped (also called tenant-scoped) permission for a specified workload and specified permission provider.
Public method AddSiteSubscriptionPermission(SPAppPrincipal, Guid, []) Grants the app principal access to a site subscription-scoped (also called tenant-scoped) permission for a specified workload and specified permission provider.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAppPrincipalSitePermission Gets the app principal's explicit permission on the site collection.
Public method GetAppPrincipalSiteSubscriptionContentPermission Gets the app principal's permission on the content within the site subscription.
Public method GetAppPrincipalSiteSubscriptionPermission Gets the app principal's permission on the specified permission provider within the site subscription.
Public method GetAppPrincipalWebPermission Gets the app principal's explicit permission on the site.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsAppOnlyPolicyAllowed Indicates whether the app-only policy is allowed on the specified app principal.
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveAppPrincipalPermissionFromList Removes the app's permission from a list.
Public method RemoveAppPrincipalPermissionFromSite Removes the app's permission on the site collection.
Public method RemoveAppPrincipalPermissionFromWeb Removes the app's permission from the web.
Public method RemoveSiteSubscriptionContentPermission Remove app principal's permission to content within the site subscription.
Public method RemoveSiteSubscriptionPermission Removes the app principal's permission to a tenant-scoped permission for a particular permission provider.
Public method ToString (Inherited from Object.)
Public method UpdateAppOnlyPolicy Updates the app principal's app only policy.

Top

See also

Reference

SPAppPrincipalPermissionsManager class

Microsoft.SharePoint namespace