SPAppPrincipalPermissionsManager.AddAppPrincipalToWeb(SPAppPrincipal, SPAppPrincipalPermissionKind) Method

Definition

public:
 void AddAppPrincipalToWeb(Microsoft::SharePoint::SPAppPrincipal ^ appPrincipal, Microsoft::SharePoint::SPAppPrincipalPermissionKind permission);
public void AddAppPrincipalToWeb (Microsoft.SharePoint.SPAppPrincipal appPrincipal, Microsoft.SharePoint.SPAppPrincipalPermissionKind permission);
member this.AddAppPrincipalToWeb : Microsoft.SharePoint.SPAppPrincipal * Microsoft.SharePoint.SPAppPrincipalPermissionKind -> unit
Public Sub AddAppPrincipalToWeb (appPrincipal As SPAppPrincipal, permission As SPAppPrincipalPermissionKind)

Parameters

appPrincipal
SPAppPrincipal

Applies to