Partilhar via


ApplicationRole.Grant Method

Grants the specified set of permissions to the specified grantees on the application role.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
ApplicationRole.Grant (ObjectPermissionSet, String)
Grants the specified set of permissions to the specified grantee on the application role.
ApplicationRole.Grant (ObjectPermissionSet, String[])
Grants the specified set of permissions to the specified grantees on the application role.
ApplicationRole.Grant (ObjectPermissionSet, String, Boolean)
Grants the specified permission and the ability to grant the set of permissions to the specified grantee on the application role.
ApplicationRole.Grant (ObjectPermissionSet, String[], Boolean)
Grants the specified permission and the ability to grant the set of permissions to other users on the application role.
ApplicationRole.Grant (ObjectPermissionSet, String, Boolean, String)
Grants the specified set of permissions and the ability to grant the set of permissions to other users on the application role.
ApplicationRole.Grant (ObjectPermissionSet, String[], Boolean, String)
Grants the specified set of permissions and the ability to grant the set of permissions to other users on the application role under an assumed role.

See Also

Reference

ApplicationRole Class
ApplicationRole Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Granting, Revoking, and Denying Permissions
Application Roles
Calling Methods