AppPermissions.ValidatePermForScope method
Verifies that the specified type of app permission is valid for the specified type of scope.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Public Shared Sub ValidatePermForScope ( _
appPermissionType As AppPermissions.Scope, _
permKind As Integer _
)
'Usage
Dim appPermissionType As AppPermissions.Scope
Dim permKind As IntegerAppPermissions.ValidatePermForScope(appPermissionType, _
permKind)
public static void ValidatePermForScope(
AppPermissions.Scope appPermissionType,
int permKind
)
Parameters
appPermissionType
Type: Microsoft.Office.Project.Server.Library.AppPermissions.ScopeThe set of app permissions associated with a scope or category of content.
permKind
Type: System.Int32An integer that represents a type of permission.