Condividi tramite


SPAppPermissionProvider members

Represents an app permission provider.

The SPAppPermissionProvider type exposes the following members.

Constructors

  Name Description
Protected method SPAppPermissionProvider Initializes a new instance of the SPAppPermissionProvider class.

Top

Properties

  Name Description
Public property DisplayName Gets the display name of the app permission provider.

Top

Methods

  Name Description
Public method CanHandle Checks if the app permission provider is responsible for managing the permission to the specified scope.
Protected method CheckUsageRightForCurrentTenant Gets the display names of the capabilities the permission request scope depends on but the tenant is not licensed to use.
Protected method CheckUsageRightForCurrentUser Gets the display names of the capabilities the permission request scope depends on but user is not licensed to use.
Public method CreateControl Creates a UI control to grant app permission.
Protected methodStatic member DoesAppContainPermissionRequestForScope(XElement, Uri)
Protected methodStatic member DoesAppContainPermissionRequestForScope(String, String, IList<String>)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected methodStatic member FindMaximumSPAppPrincipalPermissionKind
Public method GeneratePermissionDescriptionHtml Gets the HTML text that describes the permission.
Public method GeneratePermissionDescriptionStrings
Protected method GetFeatureDependencies Gets the list of SharePoint feature identifiers (IDs) that the specified permission request scope depends on.
Public method GetHashCode (Inherited from Object.)
Protected method GetMissingCustomDependencies Gets the general capabilities the permission request scope depends on but are not available.
Protected method GetMissingServiceDependencyNames Gets the services the permission request scope depends on but are not available to the user.
Public method GetSupportedAppPermissionsFromToken
Public method GetType (Inherited from Object.)
Public method GrantPermissionsWithoutConsent
Public method GrantPermissionsWithoutConsentFromToken
Protected method MemberwiseClone (Inherited from Object.)
Public method RemovePermission Removes the app's permission.
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected fieldStatic member AppPermissionRequestElement Contains the fully qualified name for the AppPermissionRequest XML element in the app permission request XML.
Protected fieldStatic member AppPermissionRequestPropertyElement Contains the fully qualified name for the Property XML element in the app permission request XML.
Protected fieldStatic member AppPermissionRequestPropertyNameAttribute Contains the fully qualified name for the Name XML attribute in the app permission request XML.
Protected fieldStatic member AppPermissionRequestPropertyValueAttribute Contains the fully qualified name for the Value XML attribute in the app permission request XML.
Protected fieldStatic member AppPermissionRequestRightAttribute Contains the fully qualified name for Right XML attribute in the app permission request XML.
Protected fieldStatic member AppPermissionRequestScopeAttribute Contains the fully qualified name for the Scope XML attribute in the app permission request XML.

Top

See also

Reference

SPAppPermissionProvider class

Microsoft.SharePoint.Administration namespace