EnvironmentInfo.GetExplicitPermissions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the explicit permissions of the EnvironmentInfo object.
Overloads
GetExplicitPermissions() |
Retrieves the explicit permissions of the EnvironmentInfo object. |
GetExplicitPermissions(String) |
Retrieves the explicit permissions of the EnvironmentInfo object for a specified user. |
GetExplicitPermissions()
Retrieves the explicit permissions of the EnvironmentInfo object.
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()
Returns
The permission array.
Applies to
GetExplicitPermissions(String)
Retrieves the explicit permissions of the EnvironmentInfo object for a specified user.
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()
Parameters
- userName
- String
The user name.
Returns
The permission array.