Checks if SQL account is granted with specific permission.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- permission
- Type: System String
SQL permission to check
- authenticationMode
- Type: CMS.DataEngine SQLServerAuthenticationModeEnum
Authentication type
- serverName
- Type: System String
Server name
- userName
- Type: System String
User name
- password
- Type: System String
User password
Return Value
Type: BooleanReturns TRUE if SQL account is granted permission
See Also