Share via


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

  • permKind
    Type: System.Int32

    An integer that represents a type of permission.

See also

Reference

AppPermissions class

AppPermissions members

Microsoft.Office.Project.Server.Library namespace