AppPermissions.GetAppPermissionRightFromStr method
Gets the enumerated value equivalent of the specified app permission right.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Public Shared Function GetAppPermissionRightFromStr ( _
right As String _
) As AppPermissions.Right
'Usage
Dim right As String
Dim returnValue As AppPermissions.Right
returnValue = AppPermissions.GetAppPermissionRightFromStr(right)
public static AppPermissions.Right GetAppPermissionRightFromStr(
string right
)
Parameters
right
Type: System.StringThe string form of an app permission right.
Return value
Type: Microsoft.Office.Project.Server.Library.AppPermissions.Right
The enumerated value that represents the specified right.
Remarks
App permissions rights include Elevate, Manage, Read, Write, SubmitStatus, AllRights, and None.