EnvironmentInfo.Grant(PermissionType, String) 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.
Grants the permission to a specified user.
public:
void Grant(Microsoft::SqlServer::Management::IntegrationServices::PermissionType permission, System::String ^ granteeName);
public void Grant (Microsoft.SqlServer.Management.IntegrationServices.PermissionType permission, string granteeName);
member this.Grant : Microsoft.SqlServer.Management.IntegrationServices.PermissionType * string -> unit
Public Sub Grant (permission As PermissionType, granteeName As String)
Parameters
- permission
- PermissionType
The permission type.
- granteeName
- String
The name of the user.