Icon AddServerProcedureUser Method

procedure AddServerProcedureUser(const ProcedureName: String;
      const AuthorizedUser: String; RightsToAssign: TProcedureRights)


Call the AddServerProcedureUser method to add rights for an existing user to an existing server-side procedure on a database server. Use the ProcedureName parameter to specify the existing server-side procedure name, the AuthorizedUser parameter to specify the existing user, and the RightsToAssign parameter to specify the rights to give to the user for the procedure. You may use a wildcard (*) for the AuthorizedUser parameter. For example, you could specify just "*" for all users or "Accounting*" for all users whose user name begins with "Accounting".

Information This method is only valid when the engine is running as a database server and the EngineType is set to etServer.