ProjectInfo.GetExplicitPermissions 方法

定义

检索此对象的显式权限。

重载

GetExplicitPermissions()

检索此对象的显式权限。

GetExplicitPermissions(String)

检索指定用户的此对象的显式权限。

GetExplicitPermissions()

检索此对象的显式权限。

public:
 cli::array <Microsoft::SqlServer::Management::IntegrationServices::ExplicitPermissionInfo ^> ^ GetExplicitPermissions();
public Microsoft.SqlServer.Management.IntegrationServices.ExplicitPermissionInfo[] GetExplicitPermissions ();
member this.GetExplicitPermissions : unit -> Microsoft.SqlServer.Management.IntegrationServices.ExplicitPermissionInfo[]
Public Function GetExplicitPermissions () As ExplicitPermissionInfo()

返回

此对象的显式权限。

适用于

GetExplicitPermissions(String)

检索指定用户的此对象的显式权限。

public:
 cli::array <Microsoft::SqlServer::Management::IntegrationServices::ExplicitPermissionInfo ^> ^ GetExplicitPermissions(System::String ^ userName);
public Microsoft.SqlServer.Management.IntegrationServices.ExplicitPermissionInfo[] GetExplicitPermissions (string userName);
member this.GetExplicitPermissions : string -> Microsoft.SqlServer.Management.IntegrationServices.ExplicitPermissionInfo[]
Public Function GetExplicitPermissions (userName As String) As ExplicitPermissionInfo()

参数

userName
String

用户的名称。

返回

权限数组。

适用于