共用方式為


AppPermissions.GetAppPermissionRightFromStr 方法

取得列舉的值,指定應用程式權限的對等右邊。

命名空間:  Microsoft.Office.Project.Server.Library
組件:  Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)

語法

'宣告
Public Shared Function GetAppPermissionRightFromStr ( _
    right As String _
) As AppPermissions.Right
'用途
Dim right As String
Dim returnValue As AppPermissions.Right

returnValue = AppPermissions.GetAppPermissionRightFromStr(right)
public static AppPermissions.Right GetAppPermissionRightFromStr(
    string right
)

參數

  • right
    類型:System.String

    右應用程式權限字串格式。

傳回值

類型:Microsoft.Office.Project.Server.Library.AppPermissions.Right
列舉的值,代表指定之右邊。

備註

應用程式權限包括 Elevate、 管理、 讀取、 寫入、 SubmitStatus、 AllRights,並無。

請參閱

參照

AppPermissions 類別

AppPermissions 成員

Microsoft.Office.Project.Server.Library 命名空間